Skip to content

Commit f778ef5

Browse files
committed
test: reduce flakiness of socket timeout test
1 parent 3d05a6d commit f778ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/cmap/connection_pool.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe('Connection Pool', function() {
100100
});
101101

102102
const pool = new ConnectionPool(
103-
Object.assign({ bson: new BSON(), maxPoolSize: 1, socketTimeout: 50 }, server.address())
103+
Object.assign({ bson: new BSON(), maxPoolSize: 1, socketTimeout: 200 }, server.address())
104104
);
105105

106106
pool.withConnection(

0 commit comments

Comments
 (0)