mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Merge pull request #127395 from macsko/fix_scheduler_perf_log_when_deleting_pod_failed
Fix opIndex in log when deleting pod failed in scheduler_perf
This commit is contained in:
commit
b4140391cf
@ -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