Skip to content

Commit 44ee529

Browse files
committed
Use longer maxAwaitTimeMS in changeStream test
This makes the test more robust, since 100ms may not be long enough for the change to appear on some runs.
1 parent ca4fb16 commit 44ee529

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/command/cursor-tailable-001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $command = new MongoDB\Driver\Command([
2727
'pipeline' => $pipeline,
2828
'cursor' => ['batchSize' => 0],
2929
], [
30-
'maxAwaitTimeMS' => 100,
30+
'maxAwaitTimeMS' => 500,
3131
]);
3232

3333
$cursor = $manager->executeCommand(DATABASE_NAME, $command);
@@ -65,5 +65,5 @@ object(stdClass)#%d (%d) {
6565
Waited for 0.%d seconds
6666
Awaiting results...
6767
NULL
68-
Waited for 0.1%d seconds
68+
Waited for 0.5%d seconds
6969
===DONE===

0 commit comments

Comments
 (0)