Skip to content

Commit

Permalink
fix format string in e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqixu committed Nov 1, 2024
1 parent 659ba2c commit faef628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/k8sattributesprocessor/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,6 @@ func waitForData(t *testing.T, entriesNum int, mc *consumertest.MetricsSink, tc
require.Eventuallyf(t, func() bool {
return len(mc.AllMetrics()) > entriesNum && len(tc.AllTraces()) > entriesNum && len(lc.AllLogs()) > entriesNum && len(pc.AllProfiles()) > entriesNum
}, time.Duration(timeoutMinutes)*time.Minute, 1*time.Second,
"failed to receive %d entries, received %d metrics, %d traces, %d logs in %d minutes, % profiles in %d minutes", entriesNum,
"failed to receive %d entries, received %d metrics, %d traces, %d logs, %d profiles in %d minutes", entriesNum,
len(mc.AllMetrics()), len(tc.AllTraces()), len(lc.AllLogs()), len(pc.AllProfiles()), timeoutMinutes)
}

0 comments on commit faef628

Please sign in to comment.