mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	sysbench: fixed case where default timeout < max_time
This commit is contained in:
		| @@ -85,6 +85,8 @@ class Sysbench(Workload): | ||||
|             self.num_threads = self.threads | ||||
|         if (self.max_requests is None) and (self.max_time is None): | ||||
|             self.max_time = 30 | ||||
|         if self.max_time and (self.max_time + 10) > self.timeout: | ||||
|             self.timeout = self.max_time + 10 | ||||
|         if self.test == 'fileio' and not self.file_test_mode: | ||||
|             self.logger.debug('Test is "fileio" and no file_test_mode specified -- using default.') | ||||
|             self.file_test_mode = 'seqwr' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user