@@ -31,13 +31,11 @@ groups() ->
31
31
].
32
32
33
33
init_per_suite (Config ) ->
34
- DataDir = ? config (data_dir , Config ),
35
34
{ok , _ } = rabbit_ct_helpers :exec ([" pip" , " install" , " -r" , requirements_path (Config ),
36
35
" --target" , deps_path (Config )]),
37
36
Config .
38
37
39
38
end_per_suite (Config ) ->
40
- DataDir = ? config (data_dir , Config ),
41
39
ok = file :del_dir_r (deps_path (Config )),
42
40
Config .
43
41
@@ -82,8 +80,10 @@ run(Config, Test) ->
82
80
StompPort = rabbit_ct_broker_helpers :get_node_config (Config , 0 , tcp_port_stomp ),
83
81
StompPortTls = rabbit_ct_broker_helpers :get_node_config (Config , 0 , tcp_port_stomp_tls ),
84
82
AmqpPort = rabbit_ct_broker_helpers :get_node_config (Config , 0 , tcp_port_amqp ),
83
+ MgmtPort = rabbit_ct_broker_helpers :get_node_config (Config , 0 , tcp_port_mgmt ),
85
84
NodeName = rabbit_ct_broker_helpers :get_node_config (Config , 0 , nodename ),
86
85
os :putenv (" AMQP_PORT" , integer_to_list (AmqpPort )),
86
+ os :putenv (" MGMT_PORT" , integer_to_list (MgmtPort )),
87
87
os :putenv (" STOMP_PORT" , integer_to_list (StompPort )),
88
88
os :putenv (" STOMP_PORT_TLS" , integer_to_list (StompPortTls )),
89
89
os :putenv (" RABBITMQ_NODENAME" , atom_to_list (NodeName )),
0 commit comments