Skip to content

Commit 321ab56

Browse files
committed
Skip test when not using the test vms
1 parent cc4c95c commit 321ab56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/utils/tools.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,8 @@ function CLEANUP($uri, $dbname = DATABASE_NAME, $collname = COLLECTION_NAME) {
142142
}
143143

144144
function START($id, array $options = array()) {
145-
if (getenv("TRAVIS")) {
146-
exit("skip Cannot start/stop server ondemand on travis");
147-
}
145+
/* starting/stopping servers only works using the Vagrant setup */
146+
PREDICTABLE();
148147

149148
$options += array("name" => "mongod", "id" => $id);
150149
$opts = array(

0 commit comments

Comments
 (0)