mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Fix opIndex in log when deleting pod failed in scheduler_perf
This commit is contained in:
parent
856475e5ff
commit
2d4d7e0b5f
@ -1239,7 +1239,7 @@ func runWorkload(tCtx ktesting.TContext, tc *testCase, w *workload, informerFact
|
|||||||
defer ticker.Stop()
|
defer ticker.Stop()
|
||||||
|
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go func() {
|
go func(opIndex int) {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
for i := 0; i < len(pods); i++ {
|
for i := 0; i < len(pods); i++ {
|
||||||
select {
|
select {
|
||||||
@ -1254,7 +1254,7 @@ func runWorkload(tCtx ktesting.TContext, tc *testCase, w *workload, informerFact
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}(opIndex)
|
||||||
}
|
}
|
||||||
|
|
||||||
case *churnOp:
|
case *churnOp:
|
||||||
|
Loading…
Reference in New Issue
Block a user