Test Result : KafkaTokenUtilSuite

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

All Tests

Test nameDurationStatus
checkProxyUser with proxy current user should throw exception0.11 secPassed
createAdminClientProperties with SASL_PLAINTEXT protocol should not include keystore and truststore config10 msPassed
createAdminClientProperties with SASL_SSL protocol should include truststore config3 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 it1 msPassed
createAdminClientProperties without keytab should set ticket cache dynamic jaas config1 msPassed
findMatchingTokenClusterConfig with multiple matching tokens should throw exception17 msPassed
findMatchingTokenClusterConfig with non-matching tokens should return None21 msPassed
findMatchingTokenClusterConfig with one matching token should return token and cluster configuration37 msPassed
findMatchingTokenClusterConfig without token should return None20 msPassed
getTokenJaasParams with token should return scram module24 msPassed
isGlobalJaasConfigurationProvided with global config should return false1 msPassed
isGlobalJaasConfigurationProvided without global config should return false1 msPassed
needTokenUpdate with different token should return true20 msPassed
needTokenUpdate with same token should return false22 msPassed
needTokenUpdate without cluster config should return false3 msPassed
needTokenUpdate without jaas config should return false4 msPassed
needTokenUpdate without security credentials enabled should return false7 msPassed