mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
Merge pull request #136790 from AutuSnow/fix/TestWaitForAllPodsUnmount/timeout
Fix Resolve WaitForAttachAndMount concurrency contention and timeout …
This commit is contained in:
@@ -741,7 +741,7 @@ func TestWaitForAllPodsUnmount(t *testing.T) {
|
||||
|
||||
for _, pod := range pods {
|
||||
go func() {
|
||||
err := manager.WaitForAttachAndMount(context.Background(), pod)
|
||||
err := manager.WaitForAttachAndMount(ctx, pod)
|
||||
resultChan <- attachResult{
|
||||
podName: pod.Name,
|
||||
err: err,
|
||||
|
||||
Reference in New Issue
Block a user