diff options
author | kjnilsson <knilsson@pivotal.io> | 2019-01-21 15:30:22 +0000 |
---|---|---|
committer | kjnilsson <knilsson@pivotal.io> | 2019-01-21 15:30:22 +0000 |
commit | 61aa7ede12d3928b3543684e47cd82ed47704a09 (patch) | |
tree | c0c5a9a6e0b852dac4c802383402f37a7c5f5e5f | |
parent | b2c684321e718a3118db93f7aab10b10d71e5555 (diff) | |
download | rabbitmq-server-git-queue_types.tar.gz |
setup test for both queue typesqueue_types
-rw-r--r-- | test/basics_SUITE.erl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/basics_SUITE.erl b/test/basics_SUITE.erl index 3a7d22ab21..6a3aedf394 100644 --- a/test/basics_SUITE.erl +++ b/test/basics_SUITE.erl @@ -13,7 +13,8 @@ all() -> groups() -> [ - {single_node, [], all_tests()}, + {classic, [], all_tests()}, + {quorum, [], all_tests()}, {clustered, [], [{cluster_size_3, [], [ ]}]} ]. @@ -41,15 +42,16 @@ init_per_group(clustered, Config) -> {queue_type, <<"classic">>}]); init_per_group(Group, Config) -> ClusterSize = case Group of - single_node -> 1; cluster_size_2 -> 2; cluster_size_3 -> 3; - cluster_size_5 -> 5 + cluster_size_5 -> 5; + _ -> 1 end, + QueueType = atom_to_binary(Group, utf8), Config1 = rabbit_ct_helpers:set_config(Config, [{rmq_nodes_count, ClusterSize}, {rmq_nodename_suffix, Group}, - {queue_type, <<"classic">>}, + {queue_type, QueueType}, {tcp_ports_base}]), Config1b = rabbit_ct_helpers:set_config(Config1, [{net_ticktime, 10}]), Config2 = rabbit_ct_helpers:run_steps(Config1b, |