From c9beb194ef608dc49dd2f7537b90951f3c8b432d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 7 Jun 2020 12:11:04 -0700 Subject: [PATCH] t/run-fio-tests.py: Accept a wider range of IOPS values This patch prevents that test 11 sporadically fails as follows: DEBUG:root:Test 11: return code: 0 DEBUG:root:Test 11: skipped 0 lines decoding JSON data DEBUG:root:Test 11: iops1: 997.670549 DEBUG:root:Test 11: ratio: 8.163684 Test 11 FAILED: iops value mismatch, Signed-off-by: Bart Van Assche Signed-off-by: Jens Axboe --- t/run-fio-tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/run-fio-tests.py b/t/run-fio-tests.py index e7063d3e..c2352d80 100755 --- a/t/run-fio-tests.py +++ b/t/run-fio-tests.py @@ -438,7 +438,7 @@ class FioJobTest_t0011(FioJobTest): logging.debug("Test %d: iops1: %f", self.testnum, iops1) logging.debug("Test %d: ratio: %f", self.testnum, ratio) - if iops1 < 998 or iops1 > 1002: + if iops1 < 997 or iops1 > 1003: self.failure_reason = "{0} iops value mismatch,".format(self.failure_reason) self.passed = False -- 2.25.1