testing
This commit is contained in:
1 parent
90931b2d75
commit
8d508d26a6
2 files changed
+5
-5
No files matched your search
+2
-2
@@ -27,8 +27,8 @@ for i in range(num_lines):
|
|||||||
#on all
|
#on all
|
||||||
if i == 0:
|
if i == 0:
|
||||||
log_entry = f"[{machine_num}-{i}] [INFO] TEST_ALL\n"
|
log_entry = f"[{machine_num}-{i}] [INFO] TEST_ALL\n"
|
||||||
#unique
|
#unique
|
||||||
elif i == 1:
|
elif i == 1 and machine_num == [2, 4, 6, 8, 10]:
|
||||||
log_entry = f"[{machine_num}-{i}] [DEBUG] TEST_UNIQUE\n"
|
log_entry = f"[{machine_num}-{i}] [DEBUG] TEST_UNIQUE\n"
|
||||||
#on some
|
#on some
|
||||||
elif i == 2 and machine_num in [1, 3, 5, 7, 9]:
|
elif i == 2 and machine_num in [1, 3, 5, 7, 9]:
|
||||||
|
|||||||
+3
-3
@@ -35,6 +35,6 @@ for i, ip in enumerate(ALL_IPS):
|
|||||||
# print(f"Machine {machine_num} grep result:\n{result.stdout}")
|
# print(f"Machine {machine_num} grep result:\n{result.stdout}")
|
||||||
|
|
||||||
#delete log files on all the machines after running this test
|
#delete log files on all the machines after running this test
|
||||||
# print("Deleting log files on all machines...")
|
print("Deleting log files on all machines...")
|
||||||
# for i, ip in enumerate(ALL_IPS):
|
for i, ip in enumerate(ALL_IPS):
|
||||||
# subprocess.run(["vpn", "ssh", f"asing271@{ip}", "cd ~/fa26_cs425_.group-mp_.team-01/MP1 && rm -f ./machine.*.test.log"])
|
subprocess.run(["vpn", "ssh", f"asing271@{ip}", "cd ~/fa26_cs425_.group-mp_.team-01/MP1 && rm -f ./machine.*.test.log"])
|
||||||
Reference in new issue
Block a user