From bebba49b35bed2d50b3fdc3659c1ea3c2d5b1d23 Mon Sep 17 00:00:00 2001 From: Ionut Balutoiu Date: Mon, 31 Oct 2022 18:16:56 +0200 Subject: [PATCH] ceph-windows: Add more Windows testing Run `test_rbd_wnbd.py` script from the upstream Ceph QA Windows workunit scripts as part of the `script/ceph-windows/run_tests`. The new test cases don't take a lot of time to execute (unless something is wrong with Ceph on Windows or Linux). So, we won't have any noticeable jobs' execute time penalty. This adds more Windows tests to the Jenkins jobs: * `ceph-windows-test` * `ceph-windows-pull-requests` Signed-off-by: Ionut Balutoiu --- scripts/ceph-windows/run_tests | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/ceph-windows/run_tests b/scripts/ceph-windows/run_tests index bb5c5517..4ea1b519 100644 --- a/scripts/ceph-windows/run_tests +++ b/scripts/ceph-windows/run_tests @@ -60,3 +60,8 @@ trap collect_artifacts EXIT # Run the Windows tests # SSH_TIMEOUT=1h ssh_exec powershell.exe /workspace/repos/ceph-win32-tests/test_host/run_tests.ps1 -workerCount 4 + +ssh_exec curl.exe -s -L -o /workspace/test_rbd_wnbd.py https://raw.githubusercontent.com/ceph/ceph/main/qa/workunits/windows/test_rbd_wnbd.py +SSH_TIMEOUT=5m ssh_exec python.exe /workspace/test_rbd_wnbd.py --test-name RbdTest --iterations 100 +SSH_TIMEOUT=5m ssh_exec python.exe /workspace/test_rbd_wnbd.py --test-name RbdFioTest --iterations 100 +SSH_TIMEOUT=5m ssh_exec python.exe /workspace/test_rbd_wnbd.py --test-name RbdStampTest --iterations 100 -- 2.39.5