From c4704c081a54160621227b42238f6e439c28fba3 Mon Sep 17 00:00:00 2001 From: Shin'ichiro Kawasaki Date: Thu, 20 Oct 2022 15:38:54 +0900 Subject: [PATCH] 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 --- t/jobs/t0026.fio | 19 +++++++++++++++++++ t/run-fio-tests.py | 9 +++++++++ 2 files changed, 28 insertions(+) create mode 100644 t/jobs/t0026.fio 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, -- 2.25.1