Skip to content

Commit fdbdf51

Browse files
committed
[host]: fix potential error on CI test on Windows.
1 parent 2b55813 commit fdbdf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

host/host_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func TestVirtualization(t *testing.T) {
115115
for i := 0; i < testCount; i++ {
116116
go func(j int) {
117117
system, role, err := Virtualization()
118-
wg.Done()
118+
defer wg.Done()
119119
common.SkipIfNotImplementedErr(t, err)
120120
assert.NoErrorf(t, err, "Virtualization() failed, %v", err)
121121

0 commit comments

Comments
 (0)