updated logging of iops1, iops2, ratio in FioJobTest_iops_rate
authorDenis Pronin <dannftk@yandex.ru>
Sun, 17 Apr 2022 20:08:15 +0000 (23:08 +0300)
committerDenis Pronin <dannftk@yandex.ru>
Sun, 17 Apr 2022 20:08:27 +0000 (23:08 +0300)
log iops1 and iops2 upon reading json_data from results
log ratio as iops2 / iops1

Signed-off-by: Denis Pronin <dannftk@yandex.ru>
t/run-fio-tests.py

index 612e50ca6ae83d6785f1be3726ce3689755110f8..ecceb67e93649d8148c58b4ca6bd7829bef059c6 100755 (executable)
@@ -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: