You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by cm...@apache.org on 2021/03/09 21:58:25 UTC
[kafka] branch 2.8 updated: MINOR: fix failing system test
delegation_token_test (#10237)
This is an automated email from the ASF dual-hosted git repository.
cmccabe pushed a commit to branch 2.8
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/2.8 by this push:
new 58b1e94 MINOR: fix failing system test delegation_token_test (#10237)
58b1e94 is described below
commit 58b1e94ab41579c7daa755d675643af3ca7809d0
Author: Ron Dagostino <rd...@confluent.io>
AuthorDate: Tue Mar 9 16:55:29 2021 -0500
MINOR: fix failing system test delegation_token_test (#10237)
Reviewers: Colin P. McCabe <cm...@apache.org>, David Arthur <mu...@gmail.com>
---
tests/kafkatest/services/security/security_config.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/kafkatest/services/security/security_config.py b/tests/kafkatest/services/security/security_config.py
index 9ab7e6f..5be0737 100644
--- a/tests/kafkatest/services/security/security_config.py
+++ b/tests/kafkatest/services/security/security_config.py
@@ -374,7 +374,8 @@ class SecurityConfig(TemplateRenderer):
def enabled_sasl_mechanisms(self):
sasl_mechanisms = []
if self.is_sasl(self.security_protocol):
- sasl_mechanisms += [self.client_sasl_mechanism]
+ # .csv is supported so be sure to account for that possibility
+ sasl_mechanisms += [mechanism.strip() for mechanism in self.client_sasl_mechanism.split(',')]
if self.is_sasl(self.interbroker_security_protocol):
sasl_mechanisms += [self.interbroker_sasl_mechanism]
if self.serves_raft_sasl: