@@ -337,7 +337,7 @@ restart_cluster_node(Config) ->
337
337
assert_clustered ([Rabbit , Hare ]).
338
338
339
339
join_and_part_cluster_in_khepri (Config ) ->
340
- [Rabbit , Hare , Bunny ] = cluster_members (Config ),
340
+ [Rabbit , Bunny , Hare ] = cluster_members (Config ),
341
341
assert_not_clustered (Rabbit ),
342
342
assert_not_clustered (Hare ),
343
343
assert_not_clustered (Bunny ),
@@ -447,38 +447,38 @@ join_to_start_interval(Config) ->
447
447
assert_clustered ([Rabbit , Hare ]).
448
448
449
449
join_cluster_in_minority (Config ) ->
450
- [Rabbit , Hare , Bunny ] = cluster_members (Config ),
450
+ [Rabbit , Bunny , Hare ] = cluster_members (Config ),
451
451
assert_not_clustered (Rabbit ),
452
452
assert_not_clustered (Hare ),
453
453
assert_not_clustered (Bunny ),
454
454
455
- stop_join_start (Config , Bunny , Rabbit ),
455
+ stop_join_start (Config , Rabbit , Bunny ),
456
456
assert_clustered ([Rabbit , Bunny ]),
457
- ok = rabbit_ct_broker_helpers :stop_node (Config , Bunny ),
457
+ ok = rabbit_ct_broker_helpers :stop_node (Config , Rabbit ),
458
458
459
459
ok = stop_app (Config , Hare ),
460
- ? assertEqual (ok , join_cluster (Config , Hare , Rabbit , false )),
460
+ ? assertEqual (ok , join_cluster (Config , Hare , Bunny , false )),
461
461
462
- ok = rabbit_ct_broker_helpers :start_node (Config , Bunny ),
462
+ ok = rabbit_ct_broker_helpers :start_node (Config , Rabbit ),
463
463
? assertEqual (ok , join_cluster (Config , Hare , Rabbit , false )),
464
464
? assertEqual (ok , start_app (Config , Hare )),
465
465
466
466
assert_clustered ([Rabbit , Bunny , Hare ]).
467
467
468
468
join_cluster_with_rabbit_stopped (Config ) ->
469
- [Rabbit , Hare , Bunny ] = cluster_members (Config ),
469
+ [Rabbit , Bunny , Hare ] = cluster_members (Config ),
470
470
assert_not_clustered (Rabbit ),
471
471
assert_not_clustered (Hare ),
472
472
assert_not_clustered (Bunny ),
473
473
474
- stop_join_start (Config , Bunny , Rabbit ),
474
+ stop_join_start (Config , Rabbit , Bunny ),
475
475
assert_clustered ([Rabbit , Bunny ]),
476
- ok = stop_app (Config , Bunny ),
476
+ ok = stop_app (Config , Rabbit ),
477
477
478
478
ok = stop_app (Config , Hare ),
479
- ? assertEqual (ok , join_cluster (Config , Hare , Rabbit , false )),
479
+ ? assertEqual (ok , join_cluster (Config , Hare , Bunny , false )),
480
480
481
- ok = start_app (Config , Bunny ),
481
+ ok = start_app (Config , Rabbit ),
482
482
? assertEqual (ok , join_cluster (Config , Hare , Rabbit , false )),
483
483
? assertEqual (ok , start_app (Config , Hare )),
484
484
@@ -1119,7 +1119,7 @@ await_running_count_in_khepri(Config) ->
1119
1119
await_running_count , [5 , 1000 ])).
1120
1120
1121
1121
start_nodes_in_reverse_order (Config ) ->
1122
- [Rabbit , Hare , Bunny ] = cluster_members (Config ),
1122
+ [Rabbit , Bunny , Hare ] = cluster_members (Config ),
1123
1123
assert_not_clustered (Rabbit ),
1124
1124
assert_not_clustered (Hare ),
1125
1125
assert_not_clustered (Bunny ),
@@ -1142,7 +1142,7 @@ start_nodes_in_reverse_order(Config) ->
1142
1142
1143
1143
% % Test booting nodes in the wrong order for Mnesia. Interesting...
1144
1144
start_nodes_in_stop_order (Config ) ->
1145
- [Rabbit , Hare , Bunny ] = cluster_members (Config ),
1145
+ [Rabbit , Bunny , Hare ] = cluster_members (Config ),
1146
1146
assert_not_clustered (Rabbit ),
1147
1147
assert_not_clustered (Hare ),
1148
1148
assert_not_clustered (Bunny ),
@@ -1167,7 +1167,7 @@ start_nodes_in_stop_order(Config) ->
1167
1167
end .
1168
1168
1169
1169
start_nodes_in_stop_order_in_khepri (Config ) ->
1170
- [Rabbit , Hare , Bunny ] = cluster_members (Config ),
1170
+ [Rabbit , Bunny , Hare ] = cluster_members (Config ),
1171
1171
assert_not_clustered (Rabbit ),
1172
1172
assert_not_clustered (Hare ),
1173
1173
assert_not_clustered (Bunny ),
@@ -1190,7 +1190,7 @@ start_nodes_in_stop_order_in_khepri(Config) ->
1190
1190
1191
1191
% % TODO test force_boot with Khepri involved
1192
1192
start_nodes_in_stop_order_with_force_boot (Config ) ->
1193
- [Rabbit , Hare , Bunny ] = cluster_members (Config ),
1193
+ [Rabbit , Bunny , Hare ] = cluster_members (Config ),
1194
1194
assert_not_clustered (Rabbit ),
1195
1195
assert_not_clustered (Hare ),
1196
1196
assert_not_clustered (Bunny ),
0 commit comments