Skip to content

Commit 8757af0

Browse files
authored
Merge branch 'mongodb:master' into master
2 parents e8ce4ca + 8462451 commit 8757af0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x/mongo/driver/topology/connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func TestConnection(t *testing.T) {
151151
close(doneChan)
152152

153153
assert.Eventually(t,
154-
func() bool { return done.Load().(bool) },
154+
func() bool { return done.Load() != nil && done.Load().(bool) },
155155
100*time.Millisecond,
156156
1*time.Millisecond,
157157
"TODO")

0 commit comments

Comments
 (0)