From: Shin'ichiro Kawasaki Date: Thu, 20 Oct 2022 06:38:54 +0000 (+0900) Subject: test: add test for experimental verify with loops and time_based options X-Git-Tag: fio-3.33~6 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=c4704c081a54160621227b42238f6e439c28fba3;p=fio.git test: add test for experimental verify with loops and time_based options Add a test case to confirm fix of numberio accounting issue of experimental verify using loops and time_based options. Of note is that this case fails on Windows with error "bad header rand_seed". Until it gets fixed, require to non-Windows OS for this test case so that CI does not report the known failure. Signed-off-by: Shin'ichiro Kawasaki Signed-off-by: Vincent Fu --- diff --git a/t/jobs/t0026.fio b/t/jobs/t0026.fio new file mode 100644 index 00000000..ee89b140 --- /dev/null +++ b/t/jobs/t0026.fio @@ -0,0 +1,19 @@ +[job1] +filename=t0026file +size=1M +readwrite=randwrite +loops=8 +do_verify=1 +verify=md5 +experimental_verify=1 + +[job2] +stonewall=1 +filename=t0026file +size=1M +readwrite=randrw +time_based +runtime=5 +do_verify=1 +verify=md5 +experimental_verify=1 diff --git a/t/run-fio-tests.py b/t/run-fio-tests.py index 439991a1..e5b307ac 100755 --- a/t/run-fio-tests.py +++ b/t/run-fio-tests.py @@ -1205,6 +1205,15 @@ TEST_LIST = [ 'output_format': 'json', 'requirements': [], }, + { + 'test_id': 26, + 'test_class': FioJobTest, + 'job': 't0026.fio', + 'success': SUCCESS_DEFAULT, + 'pre_job': None, + 'pre_success': None, + 'requirements': [Requirements.not_windows], + }, { 'test_id': 1000, 'test_class': FioExeTest,