]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/*/crimson: Seperate Crimson's rbd api testing
authorMatan Breizman <mbreizma@redhat.com>
Sun, 5 Feb 2023 14:53:11 +0000 (14:53 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 7 Mar 2023 08:57:03 +0000 (08:57 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
qa/suites/crimson-rados/rbd/tasks/rbd_api_tests_old_format.yaml
qa/workunits/rbd/crimson/test_crimson_librbd.sh [new file with mode: 0755]

index 3dbb69df40fc659626b0cab6a26cc6a9db3fe05a..a6b85f7b3ce079638e9a2a1fce0c51c146c33aed 100644 (file)
@@ -10,4 +10,4 @@ tasks:
 - workunit:
     clients:
       client.0:
-        - rbd/test_librbd.sh
+        - rbd/crimson/test_crimson_librbd.sh
diff --git a/qa/workunits/rbd/crimson/test_crimson_librbd.sh b/qa/workunits/rbd/crimson/test_crimson_librbd.sh
new file mode 100755 (executable)
index 0000000..fb308de
--- /dev/null
@@ -0,0 +1,35 @@
+#!/bin/sh -e
+
+if [ -n "${VALGRIND}" ]; then
+  valgrind ${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
+    --error-exitcode=1 ceph_test_librbd
+else
+  # Run test cases indivually to allow better selection
+  # of ongoing Crimson development.
+  # Disabled test groups are tracked here:
+  # https://tracker.ceph.com/issues/58791
+  ceph_test_librbd --gtest_filter='TestLibRBD.*'
+  ceph_test_librbd --gtest_filter='EncryptedFlattenTest/0.*'
+  ceph_test_librbd --gtest_filter='EncryptedFlattenTest/1.*'
+  ceph_test_librbd --gtest_filter='EncryptedFlattenTest/2.*'
+  ceph_test_librbd --gtest_filter='EncryptedFlattenTest/3.*'
+  ceph_test_librbd --gtest_filter='EncryptedFlattenTest/4.*'
+  ceph_test_librbd --gtest_filter='EncryptedFlattenTest/5.*'
+  ceph_test_librbd --gtest_filter='EncryptedFlattenTest/6.*'
+  ceph_test_librbd --gtest_filter='EncryptedFlattenTest/7.*'
+  # ceph_test_librbd --gtest_filter='DiffIterateTest/0.*'
+  # ceph_test_librbd --gtest_filter='DiffIterateTest/1.*'
+  ceph_test_librbd --gtest_filter='TestImageWatcher.*'
+  ceph_test_librbd --gtest_filter='TestInternal.*'
+  ceph_test_librbd --gtest_filter='TestMirroring.*'
+  # ceph_test_librbd --gtest_filter='TestDeepCopy.*'
+  ceph_test_librbd --gtest_filter='TestGroup.*'
+  # ceph_test_librbd --gtest_filter='TestMigration.*'
+  ceph_test_librbd --gtest_filter='TestMirroringWatcher.*'
+  ceph_test_librbd --gtest_filter='TestObjectMap.*'
+  ceph_test_librbd --gtest_filter='TestOperations.*'
+  ceph_test_librbd --gtest_filter='TestTrash.*'
+  ceph_test_librbd --gtest_filter='TestJournalEntries.*'
+  ceph_test_librbd --gtest_filter='TestJournalReplay.*'
+fi
+exit 0