Skip to content

Commit 1e1ad22

Browse files
authored
Merge pull request #1830 from shirou/feat/try_to_fix_ci_test_fail_host_virtuailization
[host]: fix potential error on CI test on Windows.
2 parents 2b55813 + fdbdf51 commit 1e1ad22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

host/host_test.go

Lines changed: 1 addition & 1 deletion
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)