Test Result : KafkaTokenUtilSuite

0 failures (±0)
20 tests (±0)
Took 0.2 sec.

All Tests

Test nameDurationStatus
checkProxyUser with proxy current user should throw exception65 msPassed
createAdminClientProperties with SASL_PLAINTEXT protocol should not include keystore and truststore config8 msPassed
createAdminClientProperties with SASL_SSL protocol should include truststore config2 msPassed
createAdminClientProperties with SSL protocol should include keystore and truststore config3 msPassed
createAdminClientProperties with global config should not set dynamic jaas config2 msPassed
createAdminClientProperties with keytab should set keytab dynamic jaas config3 msPassed
createAdminClientProperties with specified params should include it2 msPassed
createAdminClientProperties without keytab should set ticket cache dynamic jaas config1 msPassed
findMatchingTokenClusterConfig with multiple matching tokens should throw exception18 msPassed
findMatchingTokenClusterConfig with non-matching tokens should return None17 msPassed
findMatchingTokenClusterConfig with one matching token should return token and cluster configuration17 msPassed
findMatchingTokenClusterConfig without token should return None19 msPassed
getTokenJaasParams with token should return scram module11 msPassed
isGlobalJaasConfigurationProvided with global config should return false1 msPassed
isGlobalJaasConfigurationProvided without global config should return false1 msPassed
needTokenUpdate with different token should return true14 msPassed
needTokenUpdate with same token should return false16 msPassed
needTokenUpdate without cluster config should return false2 msPassed
needTokenUpdate without jaas config should return false3 msPassed
needTokenUpdate without security credentials enabled should return false4 msPassed