From fb0edb6450a905203f433789bb341800724a4eaa Mon Sep 17 00:00:00 2001 From: spetrovi Date: Tue, 22 Oct 2024 09:29:11 +0200 Subject: [PATCH] Adding gating tests Signed-off-by: spetrovi --- gating.yaml | 6 ++++++ tests/tests.yml | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..ed6cb1f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: . + # This is the same test run by the 'test' target in the upstream Makefile + run: "fio --minimal --thread --exitall_on_error --runtime=1s --name=nulltest --ioengine=null --rw=randrw --iodepth=2 --norandommap --random_generator=tausworthe64 --size=16T --name=verifyfstest --filename=fiotestfile.tmp --unlink=1 --rw=write --verify=crc32c --verify_state_save=0 --size=16K" + required_packages: + - fio