Skip to content

Commit b1aa520

Browse files
committed
Use more generous timeouts for sharded clusters
This test doesn't actually care about the value of maxTimeMS, so we'll make it sufficiently large to avoid hitting a timeout on mongos.
1 parent 689861e commit b1aa520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Collection/CollectionFunctionalTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function () {
154154
$this->collection->createIndex(
155155
['x' => 1],
156156
[
157-
'maxTimeMS' => 1000,
157+
'maxTimeMS' => 10000,
158158
'session' => $this->manager->startSession(),
159159
'sparse' => true,
160160
'unique' => true,

0 commit comments

Comments
 (0)