]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
RGW|BN: make http tests run on a seperate task 57894/head
authorAli Masarwa <amasarwa@redhat.com>
Wed, 5 Jun 2024 09:31:51 +0000 (12:31 +0300)
committerAli Masarwa <amasarwa@redhat.com>
Thu, 6 Jun 2024 11:37:28 +0000 (14:37 +0300)
Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
qa/suites/rgw/notifications/tasks/http/+ [new file with mode: 0644]
qa/suites/rgw/notifications/tasks/http/0-install.yaml [new file with mode: 0644]
qa/suites/rgw/notifications/tasks/http/supported-distros [new symlink]
qa/suites/rgw/notifications/tasks/http/test_http.yaml [new file with mode: 0644]
qa/tasks/notification_tests.py

diff --git a/qa/suites/rgw/notifications/tasks/http/+ b/qa/suites/rgw/notifications/tasks/http/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rgw/notifications/tasks/http/0-install.yaml b/qa/suites/rgw/notifications/tasks/http/0-install.yaml
new file mode 100644 (file)
index 0000000..108772d
--- /dev/null
@@ -0,0 +1,14 @@
+tasks:
+  - install:
+  - ceph:
+  - openssl_keys:
+  - rgw:
+      client.0:
+      client.1:
+
+overrides:
+  ceph:
+    conf:
+      global:
+        osd_min_pg_log_entries: 10
+        osd_max_pg_log_entries: 10
diff --git a/qa/suites/rgw/notifications/tasks/http/supported-distros b/qa/suites/rgw/notifications/tasks/http/supported-distros
new file mode 120000 (symlink)
index 0000000..46280a4
--- /dev/null
@@ -0,0 +1 @@
+../../.qa/distros/supported-random-distro$/
\ No newline at end of file
diff --git a/qa/suites/rgw/notifications/tasks/http/test_http.yaml b/qa/suites/rgw/notifications/tasks/http/test_http.yaml
new file mode 100644 (file)
index 0000000..a18464f
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+  - notification-tests:
+      client.0:
+        extra_attr: ["http_test"]
+        rgw_server: client.0
index f19ef9bc7ff32511556d0789bbfae8890c80ea8f..58dbaaa14b344fdea333bf0563a451ee33fb04ce 100644 (file)
@@ -220,7 +220,7 @@ def run_tests(ctx, config):
     for client, client_config in config.items():
         (remote,) = ctx.cluster.only(client).remotes.keys()
 
-        attr = ["!kafka_test", "!amqp_test", "!amqp_ssl_test", "!kafka_security_test", "!modification_required", "!manual_test"]
+        attr = ["!kafka_test", "!amqp_test", "!amqp_ssl_test", "!kafka_security_test", "!modification_required", "!manual_test", "!http_test"]
 
         if 'extra_attr' in client_config:
             attr = client_config.get('extra_attr')