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/06/13 09:04:40 UTC

[GitHub] [flink] tillrohrmann commented on a change in pull request #8716: [FLINK-12800] Harden Tests when availableProcessors is 1

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


With regards,
Apache Git Services