Commit ebb56215 authored by Benjamin Blanc's avatar Benjamin Blanc

scalability: Fix typo in to current_test_number initilization

parent 57a62d33
......@@ -250,13 +250,13 @@ class ScalabilityLauncher(object):
self.log("Test Case %s is running..." %(current_test.title))
try:
current_test = int(current_test.title)
test_duration = suite.getTestDuration(current_test)
current_test_duration = int(current_test.title)
test_duration = suite.getTestDuration(current_test_number)
benchmark_path_list = os.path.join(self.__argumentNamespace.erp5_location, test_path)
#TODO: generate a basic user file with all scalability users.
user_file_path = os.path.join(self.__argumentNamespace.erp5_location, test_path)
tester_path = self.__argumentNamespace.runner_path
user_number = suite.getUserNumber(current_test)
user_number = suite.getUserNumber(current_test_number)
self.log("user_number: %s" str(user_number))
self.log("test_duration: %ss" str(test_duration))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment