rabbitmq-server/deps/rabbitmq_ct_helpers
Jean-Sébastien Pédron debe2a118c
rabbitmq_ct_helpers: Change how Mnesia/Khepri is selected
[Why]
Once `khepr_db` is enabled by default, we need another way to disable it
to select Mnesia instead.

[How]
We use the new relative forced feature flags mechanism to indicate if we
want to explicitly enable or disable `khepri_db`. This way, we don't
touch other stable feature flags and only mess with Khepri.

However, this mechanism is not supported by RabbitMQ 4.0.x and older.
They will ignore the setting. Therefore, to make this work in
mixed-version testing, we set the `$RABBITMQ_FEATURE_FLAGS` variable for
the secondary umbrella. This part will go away once we test against
RabbitMQ 4.1.x as the secondary umbrella in the future.

At the end, we compare the effective metadata store to the expected one.
If they don't match, we skip the test.

While here, change `rjms_topic_selector_SUITE` to only choose Khepri
without specifying any feature flags.
2024-12-17 09:56:54 +01:00
..
include Respect message_interceptors.incoming.set_header_timestamp 2024-04-10 11:40:49 +02:00
src rabbitmq_ct_helpers: Change how Mnesia/Khepri is selected 2024-12-17 09:56:54 +01:00
test More (c) source header updates #9969 2024-01-19 19:53:28 -05:00
tools Verify non-zero DNS and email SAN 2024-10-29 16:41:20 +01:00
.gitignore Cleanup .gitignore files for the monorepo 2024-06-28 12:00:52 +02:00
BUILD.bazel bazel run gazelle 2024-11-21 04:02:30 +00:00
CODE_OF_CONDUCT.md Revert "Correct a double quote introduced in #4603" 2022-04-20 16:05:56 +04:00
CONTRIBUTING.md Revert "Correct a double quote introduced in #4603" 2022-04-20 16:05:56 +04:00
LICENSE Replace @rabbitmq.com addresses with rabbitmq-core@groups.vmware.com 2023-06-20 15:40:13 +04:00
LICENSE-APACHE2 More missed license header updates #9969 2024-02-05 12:26:25 -05:00
LICENSE-MPL-RabbitMQ Revert "Correct a double quote introduced in #4603" 2022-04-20 16:05:56 +04:00
Makefile Move client-side stream protocol test helpers to a separate module 2024-11-19 19:13:59 -05:00
app.bzl bazel run gazelle 2024-11-21 04:02:30 +00:00