Skip to content
Snippets Groups Projects
Commit c1850897 authored by Maël Madon's avatar Maël Madon
Browse files

campaign for relaunching failed xp

parent 2347d6ca
No related branches found
No related tags found
No related merge requests found
...@@ -21,9 +21,12 @@ nb_expe = 50 ...@@ -21,9 +21,12 @@ nb_expe = 50
start_dates = [random.randint(jun1, nov30 - 72 * 3600) start_dates = [random.randint(jun1, nov30 - 72 * 3600)
for _ in range(nb_expe)] for _ in range(nb_expe)]
xp_a_relancer = [7, 26]
with concurrent.futures.ProcessPoolExecutor() as executor: with concurrent.futures.ProcessPoolExecutor() as executor:
instances = [] instances = []
for i in range(nb_expe): # for i in range(nb_expe):
for i in xp_a_relancer:
print(f"Submit expe {i}") print(f"Submit expe {i}")
# start_instance(expe_num, start_date, prepare_workload, clean_log) # start_instance(expe_num, start_date, prepare_workload, clean_log)
instances.append(executor.submit(start_instance, i, start_dates[i], False, True)) instances.append(executor.submit(start_instance, i, start_dates[i], False, True))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment