Skip to content

Commit ca04dd6

Browse files
committed
PHPC-270: Several test fail because of missing enableTestCommands
1 parent 8364cd4 commit ca04dd6

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

tests/standalone/connectiontimeoutexception-001.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
ConnectionTimeoutException: exceeding sockettimeoutms
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
5+
<?php TESTCOMMANDS(STANDALONE) ?>
56
--FILE--
67
<?php
7-
require_once __DIR__ . "/../utils/basic.inc";
8+
require_once __DIR__ . "/" . "../utils/basic.inc";
89

910
$manager = new MongoDB\Driver\Manager(STANDALONE . "/?sockettimeoutms=504");
1011

tests/standalone/executiontimeoutexception-001.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
ExecutionTimeoutException: exceeding $maxTimeMS (queries)
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
5+
<?php TESTCOMMANDS(STANDALONE) ?>
56
--FILE--
67
<?php
78
require_once __DIR__ . "/../utils/basic.inc";

tests/standalone/executiontimeoutexception-002.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
ExecutionTimeoutException: exceeding maxTimeMS (commands)
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
5+
<?php TESTCOMMANDS(STANDALONE) ?>
56
--FILE--
67
<?php
78
require_once __DIR__ . "/../utils/basic.inc";

tests/standalone/manager-executeQuery-001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ object(MongoDB\Driver\Cursor)#%d (%d) {
101101
}
102102
bool(true)
103103
string(%d) "%s"
104-
int(2000)
104+
int(%d)
105105
array(1) {
106106
[0]=>
107107
array(2) {

0 commit comments

Comments
 (0)