Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Nov 19, 2023
1 parent 883b65d commit 63a309d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions performance_measurement/measure_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test_normal(
os.makedirs(control_plane_stats_dir, exist_ok=True)
watcher = WatchStats(cluster, "anvil", control_plane_stats_dir)
watcher_thread = threading.Thread(target=watcher.start)
watcher_thread.start()

runner = MeasurementRunner(
namespace, crd, trial_dir, kubeconfig, context_name)
Expand Down Expand Up @@ -111,6 +112,7 @@ def test_normal(

watcher = WatchStats(cluster, "anvil", control_plane_stats_dir)
watcher_thread = threading.Thread(target=watcher.start)
watcher_thread.start()
measurement_result = runner.run(workload, sts_name_f, ds_name_f, gen)
if measurement_result is not None:
measurement_result_file = f"{single_operation_trial_dir}/measurement_result_{gen:03d}.json"
Expand Down

0 comments on commit 63a309d

Please sign in to comment.