Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2405#discussion_r75906099
  
    --- Diff: 
flink-runtime/src/test/java/org/apache/flink/runtime/rpc/akka/AkkaRpcActorTest.java
 ---
    @@ -73,6 +75,22 @@ public void testAddressResolution() throws Exception {
        }
     
        /**
    +    * Tests that a {@link RpcConnectionException} is thrown if the rpc 
endpoint cannot be connected to.
    +    */
    +   @Test
    +   public void testFailingAddressResolution() throws Exception {
    +           Future<DummyRpcGateway> futureRpcGateway = 
akkaRpcService.connect("foobar", DummyRpcGateway.class);
    +
    +           try {
    +                   DummyRpcGateway gateway = 
Await.result(futureRpcGateway, timeout.duration());
    --- End diff --
    
    Will this fail immediately, or only after a timeout?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to