Skip to content

Commit f0b5e2e

Browse files
committed
PHPC-128: Debugging why mo on travis doesn't start
1 parent d25aaaa commit f0b5e2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/start-servers.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ function lap() {
1616
}
1717

1818
$orch = new Mongo\Orchestration($host);
19+
if (!$orch->ping()) {
20+
echo file_get_contents("server.log");
21+
echo "Failed starting MO\n";
22+
exit(3);
23+
}
1924

2025
lap();
2126
$orch->stopAll();

0 commit comments

Comments
 (0)