Skip to content

Commit

Permalink
changed to wait longer for server to come up #869
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwalsh committed Jan 27, 2014
1 parent 196d252 commit 0f05b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jstests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (BUILD_TESTING)
)
add_test(
NAME mongo/js/check-mongod
COMMAND /bin/bash -c "for i in `seq 1 60`; do if $<TARGET_FILE:mongo> --port 27999 --eval 'db.version()'; then break; fi; if [ $i = 60 ]; then exit 1; fi; done"
COMMAND /bin/bash -c "for i in `seq 1 180`; do if $<TARGET_FILE:mongo> --port 27999 --eval 'db.version()'; then break; fi; if [ $i = 60 ]; then exit 1; fi; sleep 1; done"
)
set_tests_properties(mongo/js/check-mongod PROPERTIES
DEPENDS mongo/js/start-mongod
Expand Down

0 comments on commit 0f05b68

Please sign in to comment.