From ca8852db1d001f4e114c23787e8309117ab1c9af Mon Sep 17 00:00:00 2001 From: Ali Masarwa Date: Wed, 5 Jun 2024 12:31:51 +0300 Subject: [PATCH] RGW|BN: make http tests run on a seperate task Signed-off-by: Ali Masarwa --- qa/suites/rgw/notifications/tasks/http/+ | 0 .../rgw/notifications/tasks/http/0-install.yaml | 14 ++++++++++++++ .../rgw/notifications/tasks/http/supported-distros | 1 + .../rgw/notifications/tasks/http/test_http.yaml | 5 +++++ qa/tasks/notification_tests.py | 2 +- 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 qa/suites/rgw/notifications/tasks/http/+ create mode 100644 qa/suites/rgw/notifications/tasks/http/0-install.yaml create mode 120000 qa/suites/rgw/notifications/tasks/http/supported-distros create mode 100644 qa/suites/rgw/notifications/tasks/http/test_http.yaml diff --git a/qa/suites/rgw/notifications/tasks/http/+ b/qa/suites/rgw/notifications/tasks/http/+ new file mode 100644 index 00000000000..e69de29bb2d 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 index 00000000000..108772dcbb6 --- /dev/null +++ b/qa/suites/rgw/notifications/tasks/http/0-install.yaml @@ -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 index 00000000000..46280a42a96 --- /dev/null +++ b/qa/suites/rgw/notifications/tasks/http/supported-distros @@ -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 index 00000000000..a18464f7c3d --- /dev/null +++ b/qa/suites/rgw/notifications/tasks/http/test_http.yaml @@ -0,0 +1,5 @@ +tasks: + - notification-tests: + client.0: + extra_attr: ["http_test"] + rgw_server: client.0 diff --git a/qa/tasks/notification_tests.py b/qa/tasks/notification_tests.py index f19ef9bc7ff..58dbaaa14b3 100644 --- a/qa/tasks/notification_tests.py +++ b/qa/tasks/notification_tests.py @@ -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') -- 2.39.5