Skip to content

Commit 64023a4

Browse files
Update x/mongo/driver/topology/connection_test.go
Co-authored-by: Kevin Albertson <[email protected]>
1 parent e3d57c4 commit 64023a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/mongo/driver/topology/connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ func TestConnection(t *testing.T) {
839839
makeMultipleConnections := func(t *testing.T, numConns int) (*pool, []*Connection, func()) {
840840
t.Helper()
841841

842-
addr := bootstrapConnections(t, 3, func(nc net.Conn) {})
842+
addr := bootstrapConnections(t, numConns, func(nc net.Conn) {})
843843
pool, err := newPool(poolConfig{
844844
Address: address.Address(addr.String()),
845845
})

0 commit comments

Comments
 (0)