From 3172f61de8afb15d63ba696b556c8d5606179a43 Mon Sep 17 00:00:00 2001 From: Brandon Hale Date: Fri, 23 Feb 2024 19:07:53 -0500 Subject: [PATCH] fix type in ipfix unit test --- pkg/pipeline/write/testnorace/write_ipfix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pipeline/write/testnorace/write_ipfix_test.go b/pkg/pipeline/write/testnorace/write_ipfix_test.go index 0290bf174..a798d41a0 100644 --- a/pkg/pipeline/write/testnorace/write_ipfix_test.go +++ b/pkg/pipeline/write/testnorace/write_ipfix_test.go @@ -177,7 +177,7 @@ func matchElement(t *testing.T, element entities.InfoElementWithValue, flow conf case "destinationNodeName": assert.Equal(t, flow["DstK8S_HostName"], element.GetStringValue()) case "timeFlowRttNs": - assert.Equal(t, flow["TimeFlowRttNs"], element.GetUnsigned64Value()) + assert.Equal(t, flow["TimeFlowRttNs"], element.GetSigned64Value()) case "sourceMacAddress": case "destinationMacAddress": // Getting some discrepancies here, need to figure out why