Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ff89c4

Browse files
authored
fix: Fix flakeyness of TestProvisionerd/ReconnectAndComplete (#5169)
1 parent 913e461 commit 8ff89c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provisionerd/provisionerd_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ func TestProvisionerd(t *testing.T) {
918918
<-failChan
919919
_ = client.DRPCConn().Close()
920920
second.Store(true)
921+
time.Sleep(50 * time.Millisecond)
921922
failedOnce.Do(func() { close(failedChan) })
922923
}()
923924
}

0 commit comments

Comments
 (0)