Skip to content

Commit 77c259f

Browse files
committed
Increase serverSelectionTimeoutMS
1 parent 676736c commit 77c259f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public function testPingMethod()
351351
'database' => 'unittest',
352352
'options' => [
353353
'connectTimeoutMS' => 1000,
354-
'serverSelectionTimeoutMS' => 1000,
354+
'serverSelectionTimeoutMS' => 6000,
355355
],
356356
];
357357

tests/config/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
'database' => env('MONGODB_DATABASE', 'unittest'),
1212
'options' => [
1313
'connectTimeoutMS' => 1000,
14-
'serverSelectionTimeoutMS' => 1000,
14+
'serverSelectionTimeoutMS' => 6000,
1515
],
1616
],
1717

0 commit comments

Comments
 (0)