You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/09/27 10:11:46 UTC

[GitHub] [flink] a-siuniaev commented on issue #9767: [FLINK-14120][API/Datastream] Fix testImmediateShutdown

a-siuniaev commented on issue #9767: [FLINK-14120][API/Datastream] Fix testImmediateShutdown
URL: https://github.com/apache/flink/pull/9767#issuecomment-535880099
 
 
   Totally agree. 
   But I think another thing we're testing here is that `timer.registerTimer(...)` and `timer.scheduleAtFixedRate(...)` are resulting in an Exception immediately after calling `timer.serviceShutdown() `(and not waiting for the underlying task to respond to interruption). 
   So, I suppose we should add assertion which wait for a `CompletableFuture` to finish with `InterruptedException` in the very end of the test (to verify that underlying task was eventually interrupted). 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services