Commit c8d4d84f authored by Brewer, Wes's avatar Brewer, Wes
Browse files

Update tests to use `run-parts` instead of `run-multi-part`

parent 334fb61c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ def synthetic_workload_tests():
def hetero_tests():
    """Run heterogeneous workload tests."""
    print("Starting heterogeneous workload tests...")
    run_command(f"python main.py run-multi-part -x setonix/part-cpu setonix/part-gpu -t {DEFAULT_TIME}")
    run_command(f"python main.py run-parts -x setonix/part-cpu setonix/part-gpu -t {DEFAULT_TIME}")


def main():
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ def test_multi_part_sim_basic_run(system, system_config):

    os.chdir(PROJECT_ROOT)
    result = subprocess.run([
        "python", "main.py", "run-multi-part",
        "python", "main.py", "run-parts",
        "--time", "1h",
        "-x", f"{system}/*",
    ], capture_output=True, text=True, stdin=subprocess.DEVNULL)
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ def test_multi_part_sim_network_run(system, system_config, sim_output):

    os.chdir(PROJECT_ROOT)
    result = subprocess.run([
        "python", "main.py", "run-multi-part",
        "python", "main.py", "run-parts",
        "--time", "1h",
        "-x", f"{system}/*",
        "--net",
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ def test_multi_part_sim_withdata_run(system, system_config, system_files):

    os.chdir(PROJECT_ROOT)
    result = subprocess.run([
        "python", "main.py", "run-multi-part",
        "python", "main.py", "run-parts",
        "--time", "1h",
        "-x", f"{system}/*",
        "-f", ','.join(system_files),