summaryrefslogtreecommitdiffstats
path: root/storperf/test_executor.py
diff options
context:
space:
mode:
Diffstat (limited to 'storperf/test_executor.py')
-rw-r--r--storperf/test_executor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/storperf/test_executor.py b/storperf/test_executor.py
index 9c9393f..cda6c78 100644
--- a/storperf/test_executor.py
+++ b/storperf/test_executor.py
@@ -177,9 +177,9 @@ class TestExecutor(object):
def terminate(self):
self._terminated = True
self.end_time = time.time()
- return self._terminate_current_run()
+ return self.terminate_current_run()
- def _terminate_current_run(self):
+ def terminate_current_run(self):
self.logger.info("Terminating current run")
terminated_hosts = []
for workload in self._workload_executors:
@@ -243,7 +243,7 @@ class TestExecutor(object):
if self.deadline is not None \
and not workload_name.startswith("_"):
event = scheduler.enter(self.deadline * 60, 1,
- self._terminate_current_run,
+ self.terminate_current_run,
())
t = Thread(target=scheduler.run, args=())
t.start()