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/03/14 09:56:10 UTC

[GitHub] [flink] TisonKun commented on a change in pull request #7971: [FLINK-11897][tests] should wait all submitTask methods executed,befo…

TisonKun commented on a change in pull request #7971: [FLINK-11897][tests] should wait all submitTask methods executed,befo…
URL: https://github.com/apache/flink/pull/7971#discussion_r265489847
 
 

 ##########
 File path: flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/InteractionsCountingTaskManagerGateway.java
 ##########
 @@ -32,6 +33,16 @@
 
 	private final AtomicInteger submitTaskCount = new AtomicInteger(0);
 
+	private CountDownLatch submitLatch;
+
+	public InteractionsCountingTaskManagerGateway(){
+		submitLatch = new CountDownLatch(0);
+	}
+
+	public InteractionsCountingTaskManagerGateway(final int parallelism){
 
 Review comment:
   `) {`

----------------------------------------------------------------
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