From a4dfc7b6c2897fe16629d9557630d17cb27e6b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chrz=C4=85szcz?= Date: Thu, 21 Oct 2021 11:29:48 +0200 Subject: [PATCH] Do not test global sasl_mechanisms This option is set only for host types --- big_tests/tests/sasl_SUITE.erl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/big_tests/tests/sasl_SUITE.erl b/big_tests/tests/sasl_SUITE.erl index db0a5668889..227281132bd 100644 --- a/big_tests/tests/sasl_SUITE.erl +++ b/big_tests/tests/sasl_SUITE.erl @@ -35,12 +35,10 @@ %%-------------------------------------------------------------------- all() -> - [{group, domain_config}, - {group, node_config}]. + [{group, host_type_config}]. groups() -> - [{domain_config, [sequence], all_tests()}, - {node_config, [sequence], all_tests()}]. + [{host_type_config, [sequence], all_tests()}]. all_tests() -> [text_response]. @@ -88,11 +86,9 @@ text_response(Config) -> %% Helpers %%-------------------------------------------------------------------- -mech_option_key(domain_config) -> +mech_option_key(host_type_config) -> HostType = domain_helper:host_type(), - {sasl_mechanisms, HostType}; -mech_option_key(node_config) -> - sasl_mechanisms. + {sasl_mechanisms, HostType}. set_sasl_mechanisms(Key, Config) -> %% pretend that an auth module is set for this mechanism