[VOL-3141] Created Span for various Openflow and Ofagent operations
Change-Id: I49e371479edc087dcf89bd60b43c000ab0bb5547
diff --git a/internal/pkg/openflow/stats_test.go b/internal/pkg/openflow/stats_test.go
index 35cd503..e80d239 100644
--- a/internal/pkg/openflow/stats_test.go
+++ b/internal/pkg/openflow/stats_test.go
@@ -242,7 +242,7 @@
// request stats for all ports
request.PortNo = 0xffffffff
- replies, err := ofc.handlePortStatsRequest(request)
+ replies, err := ofc.handlePortStatsRequest(context.Background(), request)
assert.Equal(t, err, nil)
assert.Equal(t, int(math.Ceil(float64(generatedPortsCount)/ofcPortsChunkSize)), len(replies))
@@ -287,7 +287,7 @@
request := of13.NewPortDescStatsRequest()
- replies, err := ofc.handlePortDescStatsRequest(request)
+ replies, err := ofc.handlePortDescStatsRequest(context.Background(), request)
assert.Equal(t, err, nil)
// check that the correct number of messages is generated