mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #90925 from gaurav1086/fix_namespace_datarace
Fix data race in namespace error handling
This commit is contained in:
commit
f553458bbd
@ -39,8 +39,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func extinguish(f *framework.Framework, totalNS int, maxAllowedAfterDel int, maxSeconds int) {
|
func extinguish(f *framework.Framework, totalNS int, maxAllowedAfterDel int, maxSeconds int) {
|
||||||
var err error
|
|
||||||
|
|
||||||
ginkgo.By("Creating testing namespaces")
|
ginkgo.By("Creating testing namespaces")
|
||||||
wg := &sync.WaitGroup{}
|
wg := &sync.WaitGroup{}
|
||||||
wg.Add(totalNS)
|
wg.Add(totalNS)
|
||||||
|
Loading…
Reference in New Issue
Block a user