Test Result : KafkaTokenUtilSuite

0 failures (±0)
19 tests (±0)
Took 0.15 sec.

All Tests

Test nameDurationStatus
checkProxyUser with proxy current user should throw exception49 msPassed
createAdminClientProperties with SASL_PLAINTEXT protocol should not include keystore and truststore config5 msPassed
createAdminClientProperties with SASL_SSL protocol should include truststore config2 msPassed
createAdminClientProperties with SSL protocol should include keystore and truststore config2 msPassed
createAdminClientProperties with global config should not set dynamic jaas config1 msPassed
createAdminClientProperties with keytab should set keytab dynamic jaas config5 msPassed
createAdminClientProperties with specified params should include it1 msPassed
createAdminClientProperties without keytab should set ticket cache dynamic jaas config1 msPassed
findMatchingTokenClusterConfig with multiple matching tokens should throw exception13 msPassed
findMatchingTokenClusterConfig with non-matching tokens should return None11 msPassed
findMatchingTokenClusterConfig with one matching token should return token and cluster configuration12 msPassed
findMatchingTokenClusterConfig without token should return None12 msPassed
getTokenJaasParams with token should return scram module12 msPassed
isGlobalJaasConfigurationProvided with global config should return false1 msPassed
isGlobalJaasConfigurationProvided without global config should return false1 msPassed
needTokenUpdate with different token should return true12 msPassed
needTokenUpdate with same token should return false11 msPassed
needTokenUpdate without cluster config should return false1 msPassed
needTokenUpdate without jaas config should return false1 msPassed