From cb18d3210860b92a8deba1b52916b2f20003c6c7 Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Mon, 18 Feb 2019 15:20:54 +0100
Subject: [PATCH] Correctly wati for output file with google benchamrk

---
 bin/donkey_benchmark_execution_wrapper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/donkey_benchmark_execution_wrapper.py b/bin/donkey_benchmark_execution_wrapper.py
index 7951b8b0..ef77e1a1 100755
--- a/bin/donkey_benchmark_execution_wrapper.py
+++ b/bin/donkey_benchmark_execution_wrapper.py
@@ -16,5 +16,5 @@ if ret != 0:
 
 # If that was succesful, wait for the output file to be available on the filesystem
 # This step is necessary because the NFS synchronization is too slow for our workflow.
-while not os.path.isfile(sys.argv[2]):
+while not os.path.isfile(sys.argv[-1]):
     time.sleep(0.1)
-- 
GitLab