Skip to content

Commit 133c65a

Browse files
Merge pull request #145 from Theodus/master
remove race condition from test
2 parents 836ef31 + 08b8600 commit 133c65a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trie/dtrie/dtrie_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ func TestIterate(t *testing.T) {
114114
c++
115115
if c == 100 {
116116
close(stop)
117+
break
117118
}
118119
}
119120
assert.True(t, c == 100)

0 commit comments

Comments
 (0)