diff options
author | dalyd <david.daly@mongodb.com> | 2015-11-03 11:13:00 -0500 |
---|---|---|
committer | dalyd <david.daly@mongodb.com> | 2015-11-16 11:40:12 -0500 |
commit | 1992604c52874075e7cdab9dcd43e430eebaf956 (patch) | |
tree | 5419bbbce442d67ae1c5b07d76b7ef776b6b406a | |
parent | c0a6993ff9a10fcf21434a395a6ab543e5f38881 (diff) | |
download | mongo-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.yml | 6 |
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')}" |