Reduce flakiness in ProducerIdExpirationTest
The broker appears to be timing out the producer ID before the test can see it.
Increase the timeouts to compensate for slower CI environments.
@@ -232,9 +232,9 @@ class ProducerIdExpirationTest extends KafkaServerTestHarness {
serverProps.put(KafkaConfig.AutoLeaderRebalanceEnableProp, false.toString)
serverProps.put(KafkaConfig.GroupInitialRebalanceDelayMsProp, "0")
serverProps.put(KafkaConfig.TransactionsAbortTimedOutTransactionCleanupIntervalMsProp, "200")
- serverProps.put(KafkaConfig.TransactionalIdExpirationMsProp, "500")
+ serverProps.put(KafkaConfig.TransactionalIdExpirationMsProp, "5000")
serverProps.put(KafkaConfig.TransactionsRemoveExpiredTransactionalIdCleanupIntervalMsProp, "500")
- serverProps.put(KafkaConfig.ProducerIdExpirationMsProp, "2000")
+ serverProps.put(KafkaConfig.ProducerIdExpirationMsProp, "10000")
serverProps.put(KafkaConfig.ProducerIdExpirationCheckIntervalMsProp, "500")
serverProps
}
