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_r293276173
##########
File path:
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/StreamOperatorChainingTest.java
##########
@@ -81,34 +81,37 @@ public void testMultiChainingWithoutObjectReuse() throws
Exception {
*/
private void testMultiChaining(StreamExecutionEnvironment env) throws
Exception {
+ // set parallelism to 4 to avoid chaining with source in case
when available processors is 1.
+ final int parallelism = 4;
Review comment:
Same here: `env.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