[ https://issues.apache.org/jira/browse/FLINK-8965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411357#comment-16411357 ]
ASF GitHub Bot commented on FLINK-8965: --------------------------------------- Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/5728#discussion_r176731691 --- Diff: flink-tests/src/test/java/org/apache/flink/test/streaming/runtime/TimestampITCase.java --- @@ -185,22 +177,23 @@ public void testWatermarkPropagationNoFinalWatermarkOnStop() throws Exception { .transform("Custom Operator", BasicTypeInfo.INT_TYPE_INFO, new CustomOperator(true)) .addSink(new DiscardingSink<Integer>()); - new Thread("stopper") { + Thread t = new Thread("stopper") { @Override public void run() { try { // try until we get the running jobs - List<JobID> running; - while ((running = cluster.getCurrentlyRunningJobsJava()).isEmpty()) { + List<JobID> running = getRunningJobs(clusterClient); + while (running.isEmpty()) { Thread.sleep(10); + running = getRunningJobs(clusterClient); } - JobID id = running.get(0); + JobID id = running.iterator().next(); --- End diff -- will fix while merging. > Port TimestampITCase to flip6 > ----------------------------- > > Key: FLINK-8965 > URL: https://issues.apache.org/jira/browse/FLINK-8965 > Project: Flink > Issue Type: Improvement > Components: Tests > Affects Versions: 1.5.0 > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > Priority: Blocker > Fix For: 1.5.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)