[ 
https://issues.apache.org/jira/browse/FLINK-5402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871715#comment-15871715
 ] 

ASF GitHub Bot commented on FLINK-5402:
---------------------------------------

GitHub user dawidwys opened a pull request:

    https://github.com/apache/flink/pull/3343

    [FLINK-5402] Fails AkkaRpcServiceTest#testTerminationFuture

    On macOS this test fails consistently as the actorSystem creation already 
causes timeout.
    Unfortunately the actorSystem and rpcService from the AkkaRpcServiceTest 
cannot be reused as this test terminates them (the test execution would depend 
on order).
    
    Other solution would be to remove this test completely.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dawidwys/flink testFix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3343.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3343
    
----
commit 07cb9b8e5283fbbc08517dff96a8236e44446c07
Author: Dawid Wysakowicz <da...@getindata.com>
Date:   2017-02-17T11:27:19Z

    [FLINK-5402] Fails AkkaRpcServiceTest#testTerminationFuture

----


> Fails AkkaRpcServiceTest#testTerminationFuture
> ----------------------------------------------
>
>                 Key: FLINK-5402
>                 URL: https://issues.apache.org/jira/browse/FLINK-5402
>             Project: Flink
>          Issue Type: Bug
>          Components: Distributed Coordination
>    Affects Versions: 1.2.0
>         Environment: macOS
>            Reporter: Anton Solovev
>              Labels: test-stability
>
> {code}
> testTerminationFuture(org.apache.flink.runtime.rpc.akka.AkkaRpcServiceTest)  
> Time elapsed: 1.013 sec  <<< ERROR!
> org.junit.runners.model.TestTimedOutException: test timed out after 1000 
> milliseconds
>       at sun.misc.Unsafe.park(Native Method)
>       at 
> java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
>       at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
>       at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
>       at 
> scala.concurrent.impl.Promise$DefaultPromise.tryAwait(Promise.scala:208)
>       at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:218)
>       at 
> scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223)
>       at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:107)
>       at 
> scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
>       at scala.concurrent.Await$.result(package.scala:107)
>       at akka.remote.Remoting.start(Remoting.scala:179)
>       at 
> akka.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:184)
>       at akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:620)
>       at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:617)
>       at akka.actor.ActorSystemImpl._start(ActorSystem.scala:617)
>       at akka.actor.ActorSystemImpl.start(ActorSystem.scala:634)
>       at akka.actor.ActorSystem$.apply(ActorSystem.scala:142)
>       at akka.actor.ActorSystem$.apply(ActorSystem.scala:119)
>       at akka.actor.ActorSystem$.create(ActorSystem.scala:67)
>       at 
> org.apache.flink.runtime.akka.AkkaUtils$.createActorSystem(AkkaUtils.scala:104)
>       at 
> org.apache.flink.runtime.akka.AkkaUtils$.createDefaultActorSystem(AkkaUtils.scala:114)
>       at 
> org.apache.flink.runtime.akka.AkkaUtils.createDefaultActorSystem(AkkaUtils.scala)
>       at 
> org.apache.flink.runtime.rpc.akka.AkkaRpcServiceTest.testTerminationFuture(AkkaRpcServiceTest.java:134)
> {code} in org.apache.flink.runtime.rpc.akka.AkkaRpcServiceTest while testing 
> current master 1.2.0 branch 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to