Fix distributed apollo runs

Reviewers: buda, teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1393
This commit is contained in:
Matej Ferencevic 2018-05-14 17:26:33 +02:00
parent 0a6b8cdf4f
commit 94ec0b23cd

View File

@ -21,14 +21,17 @@ for i in range(NUM_MACHINES):
additional = ["master.py"] if i == 0 else [] additional = ["master.py"] if i == 0 else []
outfile_paths = ["\\./" + OUTPUT_DIR_REL + "/.+"] if i == 0 else [] outfile_paths = ["\\./" + OUTPUT_DIR_REL + "/.+"] if i == 0 else []
if i == 0: if i == 0:
cmd = "master.py --machines-num {0} --test-suite card_fraud " \ cmd = "master.py"
args = "--machines-num {0} --test-suite card_fraud " \
"--test card_fraud".format(NUM_MACHINES) "--test card_fraud".format(NUM_MACHINES)
else: else:
cmd = "jail_service.py" cmd = "jail_service.py"
args = ""
runs.append({ runs.append({
"name": "distributed__card_fraud__" + name, "name": "distributed__card_fraud__" + name,
"cd": "..", "cd": "..",
"supervisor": cmd, "supervisor": cmd,
"arguments": args,
"infiles": binaries + [ "infiles": binaries + [
"common.py", "common.py",
"jail_service.py", "jail_service.py",