We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e582c3 commit bfbf5a7Copy full SHA for bfbf5a7
tests/Operation/WatchFunctionalTest.php
@@ -28,6 +28,7 @@ class WatchFunctionalTest extends FunctionalTestCase
28
{
29
use SetUpTearDownTrait;
30
31
+ const INTERRUPTED = 11601;
32
const NOT_MASTER = 10107;
33
34
private static $wireVersionForStartAtOperationTime = 7;
@@ -1295,7 +1296,7 @@ public function testErrorDuringAggregateCommandDoesNotCauseResume()
1295
1296
$this->configureFailPoint([
1297
'configureFailPoint' => 'failCommand',
1298
'mode' => ['times' => 1],
- 'data' => ['failCommands' => ['aggregate'], 'errorCode' => self::NOT_MASTER],
1299
+ 'data' => ['failCommands' => ['aggregate'], 'errorCode' => self::INTERRUPTED],
1300
]);
1301
1302
$this->expectException(CommandException::class);
0 commit comments