Skip to content

Commit fcd4bee

Browse files
committed
Revert "Don’t enforce feature flags for mixed-version testing"
This reverts commit 7175e51.
1 parent 7388e14 commit fcd4bee

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rabbitmq.bzl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,18 @@ def rabbitmq_integration_suite(
274274
data = native.glob(["test/{}_data/**/*".format(name)]) + data,
275275
test_env = dict({
276276
"SKIP_MAKE_TEST_DIST": "true",
277+
# The feature flags listed below are required. This means they must be enabled in mixed-version testing
278+
# before even starting the cluster because newer nodes don't have the corresponding compatibility/migration code.
279+
"RABBITMQ_FEATURE_FLAGS":
280+
# required starting from 3.11.0 in rabbit:
281+
"quorum_queue,implicit_default_bindings,virtual_host_metadata,maintenance_mode_status,user_limits," +
282+
# required starting from 3.12.0 in rabbit:
283+
"feature_flags_v2,stream_queue,classic_queue_type_delivery_support,classic_mirrored_queue_version," +
284+
"stream_single_active_consumer,direct_exchange_routing_v2,listener_records_in_ets,tracking_records_in_ets," +
285+
# required starting from 3.12.0 in rabbitmq_management_agent:
286+
# empty_basic_get_metric, drop_unroutable_metric
287+
# required starting from 4.0 in rabbit:
288+
"message_containers,stream_update_config_command,stream_filtering,stream_sac_coordinator_unblock_group,restart_streams",
277289
"RABBITMQ_RUN": "$(location :rabbitmq-for-tests-run)",
278290
"RABBITMQCTL": "$TEST_SRCDIR/$TEST_WORKSPACE/{}/broker-for-tests-home/sbin/rabbitmqctl".format(package),
279291
"RABBITMQ_PLUGINS": "$TEST_SRCDIR/$TEST_WORKSPACE/{}/broker-for-tests-home/sbin/rabbitmq-plugins".format(package),

0 commit comments

Comments
 (0)