Skip to content

Commit

Permalink
[FLINK-5402] [tests] Increase JUnit timeouts in AkkaRpcServiceTest
Browse files Browse the repository at this point in the history
This closes apache#3430.
  • Loading branch information
uce committed Mar 1, 2017
1 parent b59c14e commit 72f18dc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void testGetAddress() {
* @throws ExecutionException
* @throws InterruptedException
*/
@Test(timeout = 1000)
@Test(timeout = 60000)
public void testTerminationFuture() throws ExecutionException, InterruptedException {
final ActorSystem actorSystem = AkkaUtils.createDefaultActorSystem();
final AkkaRpcService rpcService = new AkkaRpcService(actorSystem, Time.milliseconds(1000));
Expand All @@ -160,7 +160,7 @@ public Void call() throws Exception {
* Tests a simple scheduled runnable being executed by the RPC services scheduled executor
* service.
*/
@Test(timeout = 1000)
@Test(timeout = 60000)
public void testScheduledExecutorServiceSimpleSchedule() throws ExecutionException, InterruptedException {
ScheduledExecutor scheduledExecutor = akkaRpcService.getScheduledExecutor();

Expand All @@ -186,7 +186,7 @@ public void run() {
* Tests that the RPC service's scheduled executor service can execute runnables at a fixed
* rate.
*/
@Test(timeout = 1000)
@Test(timeout = 60000)
public void testScheduledExecutorServicePeriodicSchedule() throws ExecutionException, InterruptedException {
ScheduledExecutor scheduledExecutor = akkaRpcService.getScheduledExecutor();

Expand Down Expand Up @@ -226,7 +226,7 @@ public void run() {
* Tests that the RPC service's scheduled executor service can execute runnable with a fixed
* delay.
*/
@Test(timeout = 1000)
@Test(timeout = 60000)
public void testScheduledExecutorServiceWithFixedDelaySchedule() throws ExecutionException, InterruptedException {
ScheduledExecutor scheduledExecutor = akkaRpcService.getScheduledExecutor();

Expand Down

0 comments on commit 72f18dc

Please sign in to comment.