mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-31 08:36:16 +00:00
type found with controller comment.
This commit is contained in:
@@ -888,7 +888,7 @@ func wrapTestWithInjectedOperation(toWrap testCall, injectBeforeOperation func(c
|
|||||||
atomic.StoreInt32(&testFinished, 1)
|
atomic.StoreInt32(&testFinished, 1)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// Wait for the controler to finish the test function.
|
// Wait for the controller to finish the test function.
|
||||||
for atomic.LoadInt32(&testFinished) == 0 {
|
for atomic.LoadInt32(&testFinished) == 0 {
|
||||||
time.Sleep(time.Millisecond * 10)
|
time.Sleep(time.Millisecond * 10)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user