Skip to content

Commit 4001c81

Browse files
committed
fix
1 parent 32fd0de commit 4001c81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/scheduler_perf/scheduler_perf.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ func startCollectingMetrics(tCtx ktesting.TContext, collectorWG *sync.WaitGroup,
14271427
collector := collector
14281428
err := collector.init()
14291429
if err != nil {
1430-
return nil, nil, fmt.Errorf("op %d: Failed to initialize data collector: %w", opIndex, err)
1430+
return nil, nil, fmt.Errorf("failed to initialize data collector: %w", err)
14311431
}
14321432
tCtx.TB().Cleanup(func() {
14331433
collectorCtx.Cancel("cleaning up")
@@ -1443,7 +1443,7 @@ func startCollectingMetrics(tCtx ktesting.TContext, collectorWG *sync.WaitGroup,
14431443

14441444
func stopCollectingMetrics(tCtx ktesting.TContext, collectorCtx ktesting.TContext, collectorWG *sync.WaitGroup, threshold float64, tms thresholdMetricSelector, opIndex int, collectors []testDataCollector) ([]DataItem, error) {
14451445
if collectorCtx == nil {
1446-
return nil, fmt.Errorf("op %d: Missing startCollectingMetrics operation before stopping", opIndex)
1446+
return nil, fmt.Errorf("missing startCollectingMetrics operation before stopping")
14471447
}
14481448
collectorCtx.Cancel("collecting metrics, collector must stop first")
14491449
collectorWG.Wait()

0 commit comments

Comments
 (0)