tillrohrmann commented on a change in pull request #8716: [FLINK-12800] Harden 
Tests when availableProcessors is 1
URL: https://github.com/apache/flink/pull/8716#discussion_r293275615
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/api/operators/async/AsyncWaitOperatorTest.java
 ##########
 @@ -434,6 +434,10 @@ public void testOperatorChainWithProcessingTime() throws 
Exception {
        }
 
        private JobVertex createChainedVertex(boolean withLazyFunction) {
+
+               // set parallelism to 4 to avoid chaining with source in case 
when available processors is 1.
+               final int parallelism = 4;
+
                StreamExecutionEnvironment chainEnv = 
StreamExecutionEnvironment.getExecutionEnvironment();
 
 Review comment:
   Same here: `chainEnv.setParallelism(2);`

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to