Skip to content

Commit

Permalink
[FLINK-19645][tests] Increase akka rpc timeout for ShuffleCompression…
Browse files Browse the repository at this point in the history
…ITCase

This closes apache#13936.
  • Loading branch information
wsry authored and tillrohrmann committed Nov 5, 2020
1 parent 1193530 commit 28110ed
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import org.apache.flink.api.common.ExecutionConfig;
import org.apache.flink.api.common.ExecutionMode;
import org.apache.flink.configuration.AkkaOptions;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.configuration.NettyShuffleEnvironmentOptions;
import org.apache.flink.runtime.execution.Environment;
Expand Down Expand Up @@ -81,6 +82,7 @@ public static Boolean[] params() {
public void testDataCompressionForBoundedBlockingShuffle() throws Exception {
Configuration configuration = new Configuration();
configuration.setBoolean(NettyShuffleEnvironmentOptions.BLOCKING_SHUFFLE_COMPRESSION_ENABLED, true);
configuration.setString(AkkaOptions.ASK_TIMEOUT, "60 s");

JobGraph jobGraph = createJobGraph(
ScheduleMode.LAZY_FROM_SOURCES, ResultPartitionType.BLOCKING, ExecutionMode.BATCH);
Expand All @@ -92,6 +94,7 @@ public void testDataCompressionForSortMergeBlockingShuffle() throws Exception {
Configuration configuration = new Configuration();
configuration.setBoolean(NettyShuffleEnvironmentOptions.BLOCKING_SHUFFLE_COMPRESSION_ENABLED, true);
configuration.setInteger(NettyShuffleEnvironmentOptions.NETWORK_SORT_SHUFFLE_MIN_PARALLELISM, 1);
configuration.setString(AkkaOptions.ASK_TIMEOUT, "60 s");

JobGraph jobGraph = createJobGraph(
ScheduleMode.LAZY_FROM_SOURCES, ResultPartitionType.BLOCKING, ExecutionMode.BATCH);
Expand Down

0 comments on commit 28110ed

Please sign in to comment.