]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/crimson-rados: add 'wait' attribute
authorMatan Breizman <mbreizma@redhat.com>
Wed, 10 Aug 2022 13:51:43 +0000 (13:51 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 17 Aug 2022 12:02:09 +0000 (12:02 +0000)
wait_for_complete tests currently hanging with crimson-osd
and are temporary disabled in Crimson suite.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
qa/suites/crimson-rados/basic/tasks/rados_python.yaml
src/test/pybind/test_rados.py

index d766b186526aee6768e09071c3e382de0a6526df..a17914b20e00471d283a0e455337182968b36f72 100644 (file)
@@ -12,4 +12,4 @@ tasks:
 - workunit:
     clients:
       client.0:
-        - rados/test_python.sh --eval-attr 'not (tier or snap or ec or bench or stats)'
+        - rados/test_python.sh --eval-attr 'not (wait or tier or snap or ec or bench or stats)'
index 578f31cbf3e0752126430013f377ed0e96863c3c..3720007d1a7d389abdbd18f8c0fc289e463104e2 100644 (file)
@@ -943,6 +943,7 @@ class TestIoctx(object):
         r, _, _ = self.rados.mon_command(json.dumps(cmd), b'')
         eq(r, 0)
 
+    @attr('wait')
     def test_aio_read_wait_for_complete(self):
         # use wait_for_complete() and wait for cb by
         # watching retval[0]
@@ -978,6 +979,7 @@ class TestIoctx(object):
         eq(retval[0], payload)
         eq(sys.getrefcount(comp), 2)
 
+    @attr('wait')
     def test_aio_read_wait_for_complete_and_cb(self):
         # use wait_for_complete_and_cb(), verify retval[0] is
         # set by the time we regain control
@@ -1005,6 +1007,7 @@ class TestIoctx(object):
         eq(retval[0], payload)
         eq(sys.getrefcount(comp), 2)
 
+    @attr('wait')
     def test_aio_read_wait_for_complete_and_cb_error(self):
         # error case, use wait_for_complete_and_cb(), verify retval[0] is
         # set by the time we regain control