Skip to content

Commit

Permalink
Increasing the timeout for fio tests to fix #8644 (#8758)
Browse files Browse the repository at this point in the history
* Increasing the timeout for fio tests to fix #8644
Update test_fio_benchmark.py
Ran few local tests to find suitable timeout value, Based on the results updating timeout value to 120000, will change in future if needs to be changed

Signed-off-by: pintojoy <[email protected]>
  • Loading branch information
pintojoy authored Nov 11, 2023
1 parent bb38bf3 commit a864a0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/e2e/performance/io_workload/test_fio_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ def setting_storage_usage(self):
self.total_data_set / self.filesize
)
log.info(f"Total Data set to work on is : {self.total_data_set} GiB")
log.info("Setting prefill value to False ")
self.crd_data["spec"]["workload"]["args"]["prefill"] = False

def setting_io_pattern(self, io_pattern):
"""
Expand Down Expand Up @@ -321,8 +323,8 @@ def run(self):
else:
sleeptime = 300

self.wait_for_wl_to_finish(sleep=sleeptime, timeout=36000)

self.wait_for_wl_to_finish(sleep=sleeptime, timeout=42000)
# Original timeout value was 36000.
try:
if "Fio failed to execute" not in self.test_logs:
log.info("FIO has completed successfully")
Expand Down

0 comments on commit a864a0b

Please sign in to comment.