From fdbdf5188d7f713739fd2f1d7a0bb739b83fdf4e Mon Sep 17 00:00:00 2001 From: shirou Date: Sun, 30 Mar 2025 10:34:22 +0900 Subject: [PATCH] [host]: fix potential error on CI test on Windows. --- host/host_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/host_test.go b/host/host_test.go index 4425a44..5432f71 100644 --- a/host/host_test.go +++ b/host/host_test.go @@ -115,7 +115,7 @@ func TestVirtualization(t *testing.T) { for i := 0; i < testCount; i++ { go func(j int) { system, role, err := Virtualization() - wg.Done() + defer wg.Done() common.SkipIfNotImplementedErr(t, err) assert.NoErrorf(t, err, "Virtualization() failed, %v", err)