mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
sysbench: fixed case where default timeout < max_time
This commit is contained in:
parent
37c49e22b3
commit
f430187b11
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user