mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #100425 from eltociear/patch-4
test: fix typo in chaosmonkey.go
This commit is contained in:
commit
851e14dc70
@ -95,7 +95,7 @@ func (cm *Chaosmonkey) Do() {
|
|||||||
for _, sem := range sems {
|
for _, sem := range sems {
|
||||||
// Wait for test to be ready. We have to wait for ready *or done* because a test
|
// Wait for test to be ready. We have to wait for ready *or done* because a test
|
||||||
// may panic before signaling that its ready, and we shouldn't block. Since we
|
// may panic before signaling that its ready, and we shouldn't block. Since we
|
||||||
// defered sem.done() above, if a test panics, it's marked as done.
|
// deferred sem.done() above, if a test panics, it's marked as done.
|
||||||
sem.waitForReadyOrDone()
|
sem.waitForReadyOrDone()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user