Let IO test #3 (avg) run for as long as needed 62/214362/1
authorMichal Bloch <m.bloch@samsung.com>
Fri, 20 Sep 2019 13:07:34 +0000 (15:07 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Fri, 20 Sep 2019 13:07:34 +0000 (15:07 +0200)
Change-Id: I2777c68118b4f23771095ff9cc2077ad9934b267
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
tests/test-stability-io.cpp

index 629c91c347aff6c8780e269dd77b0bba47bba4d4..498da68926414ddcbb719745cf4eddf51a2507bb 100644 (file)
@@ -92,7 +92,7 @@ int main (int argc, char ** argv)
                         * Expect a signal (but not too early, would mean peak). */
                        if (! run_io_test (io_medium, TEST_TIME_PEAK, & handler_peak))
                                return false;
-                       return ! run_io_test (io_medium, TEST_TIME_AVG - TEST_TIME_PEAK, & handler_avg);
+                       return ! run_io_test (io_medium, TEST_TIME_AVG, & handler_avg);
                } , "medium I/O over time, expecting average signal but not peak"
                }
        };