Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2275#discussion_r79153795 --- Diff: flink-streaming-connectors/flink-connector-kafka-0.9/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTestEnvironmentImpl.java --- @@ -141,9 +141,11 @@ public boolean isSecureRunSupported() { @Override public void prepare(int numKafkaServers, Properties additionalServerProperties, boolean secureMode) { - //increase the timeout since in Travis it is failing. + //increase the timeout since in Travis ZK connection takes long time for secure connection. if(secureMode) { - zkTimeout = "270000"; + //run only one kafka server to avoid multiple ZK connections from many instances - Travis timeout + numKafkaServers = 1; + zkTimeout = String.valueOf(Integer.parseInt(zkTimeout) * 15); --- End diff -- The timeout here seems arbitrary.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---