rabbitmq-server/deps/rabbitmq_management/test
Jean-Sébastien Pédron 57ed962ef6
rabbitmq_ct_helpers: Fix how we set `$RABBITMQ_FEATURE_FLAGS` in tests
[Why]
In order to make `khepri_db` the default in the future, the handling of
`$RABBITMQ_FEATURE_FLAGS` had to be adapted to be able to *disable*
Khepri instead.

Unfortunately I broke the behavior with stable feature flags that are
only available in the primary umbrella. In this case, they were
automatically enabled and thus, clustering with an old umbrella that did
not have these feature flags failed with `incompatible_feature_flags`.

[How]
The solution is to always use an absolute list of feature flags, not the
new relative list.

V2: Allow a testsuite to skip the configuration of the metadata store.
    This is needed for the feature_flags_SUITE testsuite because it
    tests the default behavior and the configuration of the metadata
    store changes that behavior.

    While here, fix a ct log message where variables were swapped
    compared to the format strieg expectation.

V3: Enable `rabbitmq_4.0.0` feature flag in rabbit_mgmt_http_SUITE. This
    testsuite apparently requires it and if it's not enabled, it fails.
2025-01-15 20:43:41 +01:00
..
config_schema_SUITE_data Fix schema mapping issues 2024-10-08 08:17:48 +02:00
js WIP Elminate defaults and take from config 2024-10-08 08:17:48 +02:00
cache_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
clustering_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
clustering_prop_SUITE.erl Merge branch 'main' into mk-virtual-host-protection-from-accidental-deletion 2025-01-02 17:01:54 -05:00
config_schema_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
listener_config_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_mgmt_http_SUITE.erl rabbitmq_ct_helpers: Fix how we set `$RABBITMQ_FEATURE_FLAGS` in tests 2025-01-15 20:43:41 +01:00
rabbit_mgmt_http_health_checks_SUITE.erl Merge branch 'main' into mk-virtual-host-protection-from-accidental-deletion 2025-01-02 17:01:54 -05:00
rabbit_mgmt_http_vhost_deletion_protection_SUITE.erl One more integration test for #13015 2025-01-03 19:33:24 -05:00
rabbit_mgmt_only_http_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_mgmt_rabbitmqadmin_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_mgmt_runtime_parameters_util.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_mgmt_schema_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_mgmt_stats_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_mgmt_test_db_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_mgmt_test_unit_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_mgmt_wm_auth_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
stats_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00