diff options
author | dalyd <david.daly@mongodb.com> | 2015-11-03 11:13:00 -0500 |
---|---|---|
committer | dalyd <david.daly@mongodb.com> | 2015-11-04 10:24:06 -0500 |
commit | e29401fe31d95322d7b2ab58dfc94ce04f27d5a1 (patch) | |
tree | 6ce7af2110aa4ca8b2181bf7d14547c2ebac11ca /etc | |
parent | 12bb61d523692bc0fee0d8f9b3e99889dd13a81e (diff) | |
download | mongo-e29401fe31d95322d7b2ab58dfc94ce04f27d5a1.tar.gz |
SERVER-21208: 'server up' check in perf.yml is in the wrong place
Diffstat (limited to 'etc')
-rw-r--r-- | etc/perf.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/perf.yml b/etc/perf.yml index 008a155efae..1dcae2bfcb2 100644 --- a/etc/perf.yml +++ b/etc/perf.yml @@ -55,6 +55,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')}" |