@@ -135,7 +135,8 @@ join_and_part_cluster(Config) ->
135
135
136
136
% % Allow clustering with already clustered node
137
137
ok = stop_app (Rabbit ),
138
- ok = join_cluster (Rabbit , Hare ),
138
+ {ok , <<" The node is already a member of this cluster" >>} =
139
+ join_cluster (Rabbit , Hare ),
139
140
ok = start_app (Rabbit ),
140
141
141
142
stop_reset_start (Rabbit ),
@@ -388,10 +389,9 @@ force_boot(Config) ->
388
389
change_cluster_node_type (Config ) ->
389
390
[Rabbit , Hare , _Bunny ] = cluster_members (Config ),
390
391
391
- % % Trying to change the ram node when not clustered should always fail
392
+ % % Trying to change the node to the ram type when not clustered should always fail
392
393
ok = stop_app (Rabbit ),
393
394
assert_failure (fun () -> change_cluster_node_type (Rabbit , ram ) end ),
394
- assert_failure (fun () -> change_cluster_node_type (Rabbit , disc ) end ),
395
395
ok = start_app (Rabbit ),
396
396
397
397
ok = stop_app (Rabbit ),
@@ -643,7 +643,7 @@ wait_for_pid_file_to_contain_running_process_pid(PidFile, Attempts, Timeout) ->
643
643
Pid = pid_from_file (PidFile ),
644
644
case rabbit_misc :is_os_process_alive (Pid ) of
645
645
true -> ok ;
646
- false ->
646
+ false ->
647
647
ct :sleep (Timeout ),
648
648
wait_for_pid_file_to_contain_running_process_pid (PidFile , Attempts - 1 , Timeout )
649
649
end .
0 commit comments