serverConfig.put(KafkaConfig.QuotasExpirationTimeMsProp,0.toString)// Disable expiration by default to prevent flakiness
serverConfig.put(KafkaConfig.QuotasExpirationIntervalMsProp,(2*1000).toString)// Check expiration frequently so that we can test it using a dynamic config
assertEquals(QuotaDescription(Map.empty),quotaDescription,s"Got description $quotaDescription when describing entity $quotaEntity, but expected an empty map")
assertEquals(Errors.QUOTA_ENTITY_NOT_FOUND,error,s"Got error $error but expected ${Errors.QUOTA_ENTITY_NOT_FOUND}")
}
}
/**
* Implementations must override this method to return a set of KafkaConfigs. This method will be invoked for every
* test and should not reuse previous configurations unless they select their ports randomly when servers are started.
serverProps.put(KafkaConfig.QuotasExpirationTimeMsProp,0.toString)// Disable expiration by default to prevent flakiness
serverProps.put(KafkaConfig.QuotasExpirationIntervalMsProp,(2*1000).toString)// Check expiration frequently so that we can test it using a dynamic config