pnowojski commented on a change in pull request #9912: 
[FLINK-14370][kafka][test-stability] Fix the cascading failure in 
kaProducerTestBase.
URL: https://github.com/apache/flink/pull/9912#discussion_r338070107
 
 

 ##########
 File path: 
flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTestBase.java
 ##########
 @@ -218,6 +218,8 @@ protected void assertAtLeastOnceForTopic(
                while (System.currentTimeMillis() < startMillis + 
timeoutMillis) {
                        properties.put("key.deserializer", 
"org.apache.kafka.common.serialization.IntegerDeserializer");
                        properties.put("value.deserializer", 
"org.apache.kafka.common.serialization.IntegerDeserializer");
+                       properties.put("session.timeout.ms", "2000");
+                       properties.put("heartbeat.interval.ms", "500");
 
 Review comment:
   Might cause the tests to be unstable on travis (travis can easily stall for 
seconds and this decreases the timeout from 10s down to 2s).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to