Commit d50f286f authored by Benjamin Blanc's avatar Benjamin Blanc

scalability: runScalabilityTestSuite: do not cleanup tester log files

parent 9af843b4
...@@ -173,10 +173,8 @@ class ScalabilityLauncher(object): ...@@ -173,10 +173,8 @@ class ScalabilityLauncher(object):
number = number + sum(1 for line in open(file_path)) number = number + sum(1 for line in open(file_path))
return number return number
def cleanUplogAndCsv(self): def cleanUpCsv(self):
files_to_delete = glob.glob(os.path.join(self.__argumentNamespace.log_path, files_to_delete = glob.glob(os.path.join(self.__argumentNamespace.log_path,
"%s*.log" %LOG_FILE_PREFIX))\
+ glob.glob(os.path.join(self.__argumentNamespace.log_path,
"%s*.csv" %LOG_FILE_PREFIX)) "%s*.csv" %LOG_FILE_PREFIX))
for file_path in files_to_delete: for file_path in files_to_delete:
os.remove(file_path) os.remove(file_path)
...@@ -278,7 +276,7 @@ class ScalabilityLauncher(object): ...@@ -278,7 +276,7 @@ class ScalabilityLauncher(object):
created_document_per_hour_number = ( (float(created_document_number)*60*60) / float(test_case_duration) ) created_document_per_hour_number = ( (float(created_document_number)*60*60) / float(test_case_duration) )
#log_contents = self.returnLogList() #log_contents = self.returnLogList()
#csv_contents = self.returnCsvList() #csv_contents = self.returnCsvList()
self.cleanUplogAndCsv() self.cleanUpCsv()
retry_time = 2.0 retry_time = 2.0
proxy = taskdistribution.ServerProxy( proxy = taskdistribution.ServerProxy(
......
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