Skip to content

Commit b53c938

Browse files
authored
Fix TestDispatchClose (#483)
1 parent 2df801a commit b53c938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/internal_coroutines_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ func TestDispatchClose(t *testing.T) {
599599
d.Close()
600600
time.Sleep(100 * time.Millisecond) // Let all goroutines to die
601601
closedCount := beforeClose - runtime.NumGoroutine()
602-
require.EqualValues(t, 11, closedCount)
602+
require.True(t, closedCount >= 11)
603603
expected := []string{
604604
"root",
605605
}

0 commit comments

Comments
 (0)