Skip to content

Commit ad04139

Browse files
committed
Match any error code
1 parent 992c260 commit ad04139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/test/clustering_management_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ reset_in_minority(Config) ->
735735
ok.
736736

737737
is_in_minority(Ret) ->
738-
?assertMatch({error, 75, _}, Ret),
738+
?assertMatch({error, _, _}, Ret),
739739
{error, _, Msg} = Ret,
740740
?assertMatch(match, re:run(Msg, ".*timed out.*minority.*", [{capture, none}])).
741741

0 commit comments

Comments
 (0)