Skip to content

Commit ff0fd23

Browse files
This test requires code_server_cache to be started
References #1640.
1 parent 4b2be40 commit ff0fd23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/unit_SUITE.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ rabbitmqctl_encode_encrypt_decrypt(Secret) ->
351351
.
352352

353353
rabbit_direct_extract_extra_auth_props(_Config) ->
354+
{ok, CSC} = code_server_cache:start_link(),
354355
% no protocol to extract
355356
[] = rabbit_direct:extract_extra_auth_props(
356357
{<<"guest">>, <<"guest">>}, <<"/">>, 1,
@@ -368,6 +369,7 @@ rabbit_direct_extract_extra_auth_props(_Config) ->
368369
[] = rabbit_direct:extract_extra_auth_props(
369370
{<<"guest">>, <<"guest">>}, <<"/">>, -1,
370371
[{protocol, {'DUMMY_PROTOCOL', "1.0"}}]),
372+
gen_server:stop(CSC),
371373
ok.
372374

373375
%% -------------------------------------------------------------------

0 commit comments

Comments
 (0)