Skip to content

Commit dc2a19d

Browse files
Merge 5.1 into 5.x (mongodb#3207)
2 parents 3663919 + 4b91f77 commit dc2a19d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/ConnectionTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ public function testPingMethod()
350350
'dsn' => env('MONGODB_URI', 'mongodb://127.0.0.1/'),
351351
'database' => 'unittest',
352352
'options' => [
353-
'connectTimeoutMS' => 100,
354-
'serverSelectionTimeoutMS' => 250,
353+
'connectTimeoutMS' => 1000,
354+
'serverSelectionTimeoutMS' => 6000,
355355
],
356356
];
357357

tests/config/database.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
'dsn' => env('MONGODB_URI', 'mongodb://127.0.0.1/'),
1111
'database' => env('MONGODB_DATABASE', 'unittest'),
1212
'options' => [
13-
'connectTimeoutMS' => 100,
14-
'serverSelectionTimeoutMS' => 250,
13+
'connectTimeoutMS' => 1000,
14+
'serverSelectionTimeoutMS' => 6000,
1515
],
1616
],
1717

0 commit comments

Comments
 (0)