From 7ddc4ed1ce94639e3306f980a7c651da3dd81c1d Mon Sep 17 00:00:00 2001 From: Denis Pronin Date: Sun, 17 Apr 2022 23:08:15 +0300 Subject: [PATCH] updated logging of iops1, iops2, ratio in FioJobTest_iops_rate log iops1 and iops2 upon reading json_data from results log ratio as iops2 / iops1 Signed-off-by: Denis Pronin --- t/run-fio-tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/run-fio-tests.py b/t/run-fio-tests.py index 612e50ca..ecceb67e 100755 --- a/t/run-fio-tests.py +++ b/t/run-fio-tests.py @@ -546,9 +546,10 @@ class FioJobTest_iops_rate(FioJobTest): return iops1 = self.json_data['jobs'][0]['read']['iops'] + logging.debug("Test %d: iops1: %f", self.testnum, iops1) iops2 = self.json_data['jobs'][1]['read']['iops'] + logging.debug("Test %d: iops2: %f", self.testnum, iops2) ratio = iops2 / iops1 - logging.debug("Test %d: iops1: %f", self.testnum, iops1) logging.debug("Test %d: ratio: %f", self.testnum, ratio) if iops1 < 950 or iops1 > 1050: -- 2.25.1