Test Result : KafkaTokenUtilSuite

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

All Tests

Test nameDurationStatus
checkProxyUser with proxy current user should throw exception51 msPassed
createAdminClientProperties with SASL_PLAINTEXT protocol should not include keystore and truststore config4 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 exception18 msPassed
findMatchingTokenClusterConfig with non-matching tokens should return None10 msPassed
findMatchingTokenClusterConfig with one matching token should return token and cluster configuration12 msPassed
findMatchingTokenClusterConfig without token should return None15 msPassed
getTokenJaasParams with token should return scram module12 msPassed
isGlobalJaasConfigurationProvided with global config should return false0 msPassed
isGlobalJaasConfigurationProvided without global config should return false1 msPassed
needTokenUpdate with different token should return true13 msPassed
needTokenUpdate with same token should return false18 msPassed
needTokenUpdate without cluster config should return false1 msPassed
needTokenUpdate without jaas config should return false2 msPassed