From 8dd02afa294b8638d15104e5c48d38be08a7eb51 Mon Sep 17 00:00:00 2001 From: Steven Salazar Date: Tue, 5 May 2020 02:16:05 +0200 Subject: [PATCH] Fixed small bug on python script to generate results of m4.xlarge tests Signed-off-by: Steven Salazar --- test_m4_xlarge/LoadTimeCache/get_times.py | 2 +- test_m4_xlarge/LoadTimeNoCache/get_times.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_m4_xlarge/LoadTimeCache/get_times.py b/test_m4_xlarge/LoadTimeCache/get_times.py index fd8ff04..0345374 100644 --- a/test_m4_xlarge/LoadTimeCache/get_times.py +++ b/test_m4_xlarge/LoadTimeCache/get_times.py @@ -11,7 +11,7 @@ cores = sys.argv[3] ds_size = sys.argv[4] files = os.listdir(path) - output = open("./results_load_"+ds_size"+/executors+"_worker_"+cores+"_cores_load_time.txt", "a") + output = open("./results_load_"+ds_size+"/"+executors+"_worker_"+cores+"_cores_load_time.txt", "a") # we want to calculate the load time in each test, so we consider all files in path for f in files: with urllib.request.urlopen("http://localhost:18080/api/v1/applications/"+f+"/stages/0/0/") as url: diff --git a/test_m4_xlarge/LoadTimeNoCache/get_times.py b/test_m4_xlarge/LoadTimeNoCache/get_times.py index fd8ff04..0345374 100644 --- a/test_m4_xlarge/LoadTimeNoCache/get_times.py +++ b/test_m4_xlarge/LoadTimeNoCache/get_times.py @@ -11,7 +11,7 @@ cores = sys.argv[3] ds_size = sys.argv[4] files = os.listdir(path) - output = open("./results_load_"+ds_size"+/executors+"_worker_"+cores+"_cores_load_time.txt", "a") + output = open("./results_load_"+ds_size+"/"+executors+"_worker_"+cores+"_cores_load_time.txt", "a") # we want to calculate the load time in each test, so we consider all files in path for f in files: with urllib.request.urlopen("http://localhost:18080/api/v1/applications/"+f+"/stages/0/0/") as url: