mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +00:00
Fix race condition in logging
This commit is contained in:
parent
36eee3ca8a
commit
98051aaba2
@ -58,6 +58,7 @@ var _ = instrumentation.SIGDescribe("Logging soak [Performance] [Slow] [Disrupti
|
||||
var wg sync.WaitGroup
|
||||
wg.Add(loggingSoak.Scale)
|
||||
for i := 0; i < loggingSoak.Scale; i++ {
|
||||
i := i
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
defer ginkgo.GinkgoRecover()
|
||||
|
Loading…
Reference in New Issue
Block a user