GJL commented on a change in pull request #6785: [FLINK-10309][rest] Before 
shutting down cluster, wait for asynchronous operations
URL: https://github.com/apache/flink/pull/6785#discussion_r224041393
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/rest/handler/InFlightRequestTrackerTest.java
 ##########
 @@ -59,4 +59,10 @@ public void testAwaitAsyncIsIdempotent() {
                assertTrue(inFlightRequestTracker.awaitAsync().isDone());
                assertTrue(inFlightRequestTracker.awaitAsync().isDone());
        }
+
+       @Test
+       public void testShouldTolerateRegisterAfterAwaitAsync() {
+               assertTrue(inFlightRequestTracker.awaitAsync().isDone());
+               inFlightRequestTracker.registerRequest();
 
 Review comment:
   will add

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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