summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordalyd <david.daly@mongodb.com>2015-11-03 11:13:00 -0500
committerdalyd <david.daly@mongodb.com>2015-11-16 11:40:12 -0500
commit1992604c52874075e7cdab9dcd43e430eebaf956 (patch)
tree5419bbbce442d67ae1c5b07d76b7ef776b6b406a
parentc0a6993ff9a10fcf21434a395a6ab543e5f38881 (diff)
downloadmongo-1992604c52874075e7cdab9dcd43e430eebaf956.tar.gz
SERVER-21208: 'server up' check in perf.yml is in the wrong place
(cherry picked from commit e29401fe31d95322d7b2ab58dfc94ce04f27d5a1)
-rw-r--r--etc/perf.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/perf.yml b/etc/perf.yml
index 614021db117..0b2d3b3696d 100644
--- a/etc/perf.yml
+++ b/etc/perf.yml
@@ -51,6 +51,12 @@ functions:
set -o verbose
mkdir -p ./dbdata
${mongod_exec_wrapper} ./mongod --dbpath ./dbdata ${mongod_flags}
+ - command : shell.exec
+ params:
+ working_dir: src
+ script: |
+ set -e
+ set -o verbose
sleep 5
# if we started a replset, initiate it and wait for it to become primary
./mongo --eval "if(db.isMaster().isreplicaset){rs.initiate(); assert.soon(function(){return db.isMaster().ismaster}, 'no primary')}"