From e9f858ab7c0bbc97cc2ad5a4ba2c3839d9db2297 Mon Sep 17 00:00:00 2001 From: Aryan Singh Date: Sun, 13 Sep 2026 00:32:49 -0500 Subject: [PATCH] minor fix --- MP1/generate_log.py | 2 +- MP1/test.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MP1/generate_log.py b/MP1/generate_log.py index db0571e..787962e 100644 --- a/MP1/generate_log.py +++ b/MP1/generate_log.py @@ -28,7 +28,7 @@ for i in range(num_lines): if i == 0: log_entry = f"[{machine_num}-{i}] [INFO] TEST_ALL\n" #unique - elif i == 1 and machine_num == [2, 4, 6, 8, 10]: + elif i == 1 and machine_num in [2, 4, 6, 8, 10]: log_entry = f"[{machine_num}-{i}] [DEBUG] TEST_UNIQUE\n" #on some elif i == 2 and machine_num in [1, 3, 5, 7, 9]: diff --git a/MP1/test.py b/MP1/test.py index d8d440a..a8874c5 100644 --- a/MP1/test.py +++ b/MP1/test.py @@ -35,6 +35,6 @@ for i, ip in enumerate(ALL_IPS): # print(f"Machine {machine_num} grep result:\n{result.stdout}") #delete log files on all the machines after running this test -print("Deleting log files on all machines...") -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"]) +# print("Deleting log files on all machines...") +# 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"])