Skip to content

Commit 141f183

Browse files
committed
feature_flags_v2_SUITE: Catch and log return value of peer:stop/1
[Why] It failed at least once in CI. It should help us understand what went on. (cherry picked from commit 0a643ef)
1 parent 0a24602 commit 141f183

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/rabbit/test/feature_flags_v2_SUITE.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ stop_slave_node(Node) ->
203203
persistent_term:erase({?MODULE, Node}),
204204

205205
ct:pal("- Stopping slave node `~ts`...", [Node]),
206-
_ = peer:stop(NodePid)
206+
Ret = catch peer:stop(NodePid),
207+
ct:pal(" Ret = ~0p", [Ret]),
208+
ok
207209
end.
208210

209211
connect_nodes([FirstNode | OtherNodes] = Nodes) ->

0 commit comments

Comments
 (0)