summaryrefslogtreecommitdiff
path: root/pytests/powertest.py
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2017-11-09 15:23:43 -0500
committerJonathan Abrahams <jonathan@mongodb.com>2017-11-09 15:23:43 -0500
commitc64694af754fb684eabc727c449cde1a9357df7a (patch)
tree6cedd2490679a3b2631297f72db29c9c202dcd44 /pytests/powertest.py
parentf19da233faba9a42b7fbe84b38df7bb7f1a9e496 (diff)
downloadmongo-c64694af754fb684eabc727c449cde1a9357df7a.tar.gz
SERVER-31807 Powercycle: Fix CRUD client configuration file
Diffstat (limited to 'pytests/powertest.py')
-rwxr-xr-xpytests/powertest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pytests/powertest.py b/pytests/powertest.py
index 1c143a060c2..eec89171911 100755
--- a/pytests/powertest.py
+++ b/pytests/powertest.py
@@ -2126,7 +2126,7 @@ Examples:
host_port = "{}:{}".format(mongod_host, standard_port)
crud_procs = []
for i in xrange(options.num_crud_clients):
- if not options.config_crud_client:
+ if options.config_crud_client == with_external_server:
crud_config_file = NamedTempFile.create(suffix=".yml", dir="tmp")
crud_test_data["collectionName"] = "{}-{}".format(options.collection_name, i)
new_resmoke_config(
@@ -2135,7 +2135,7 @@ Examples:
crud_config_file = options.config_crud_client
_, _, proc = resmoke_client(
work_dir=mongo_repo_root_dir,
- mongo_path=options.mongo_path,
+ mongo_path=mongo_path,
host_port=host_port,
js_test=options.crud_client,
resmoke_suite=crud_config_file,
@@ -2158,7 +2158,7 @@ Examples:
new_resmoke_config(with_external_server, fsm_config_file, fsm_test_data, eval_str)
_, _, proc = resmoke_client(
work_dir=mongo_repo_root_dir,
- mongo_path=options.mongo_path,
+ mongo_path=mongo_path,
host_port=host_port,
js_test=fsm_client,
resmoke_suite=fsm_config_file,