Skip to content

Commit

Permalink
Fixed small bug on python script to generate results of m4.xlarge tests
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Salazar <[email protected]>
  • Loading branch information
StevenSalazarM committed May 5, 2020
1 parent 7090b2e commit 8dd02af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test_m4_xlarge/LoadTimeCache/get_times.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test_m4_xlarge/LoadTimeNoCache/get_times.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8dd02af

Please sign in to comment.