Fix namespace test

This commit is contained in:
gmarek
2016-02-17 14:52:38 +01:00
committed by Jeff Lowdermilk
parent ef505d8fa3
commit dfb1e69ea2
2 changed files with 7 additions and 2 deletions

View File

@@ -34,8 +34,8 @@ func extinguish(f *Framework, totalNS int, maxAllowedAfterDel int, maxSeconds in
By("Creating testing namespaces")
wg := &sync.WaitGroup{}
wg.Add(totalNS)
for n := 0; n < totalNS; n += 1 {
wg.Add(1)
go func(n int) {
defer wg.Done()
defer GinkgoRecover()