Skip to content

Commit 24692d0

Browse files
authored
Merge pull request #2227 from mattcary/wg
Correctly use the wait group when there is no hyperdisk
2 parents c77c5a0 + a02e9df commit 24692d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/tests/setup_e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ var _ = BeforeSuite(func() {
127127
tcc <- NewDefaultTestContext(curZone, strconv.Itoa(randInt))
128128
}(zone, j)
129129
}
130-
wg.Add(1)
131130
if *hdMachineType != noMachineType {
131+
wg.Add(1)
132132
go func(curZone string) {
133133
defer GinkgoRecover()
134134
defer wg.Done()

0 commit comments

Comments
 (0)