Skip to content

Commit 5a4ca41

Browse files
committed
Don't start/stop servers on travis. We don't use MO here yet
1 parent 4ab595e commit 5a4ca41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/utils/tools.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ 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+
}
148+
145149
$options += array("name" => "mongod", "id" => $id);
146150
$opts = [
147151
"http" => [

0 commit comments

Comments
 (0)