tillrohrmann commented on a change in pull request #6876: [FLINK-10251] Handle 
oversized response messages in AkkaRpcActor
URL: https://github.com/apache/flink/pull/6876#discussion_r246337776
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/rpc/RpcSSLAuthITCase.java
 ##########
 @@ -91,8 +91,10 @@ public void testConnectFailure() throws Exception {
 
                        // we start the RPC service with a very long timeout to 
ensure that the test
                        // can only pass if the connection problem is not 
recognized merely via a timeout
-                       rpcService1 = new AkkaRpcService(actorSystem1, 
Time.of(10000000, TimeUnit.SECONDS));
-                       rpcService2 = new AkkaRpcService(actorSystem2, 
Time.of(10000000, TimeUnit.SECONDS));
+                       Configuration configuration = new Configuration();
+                       configuration.setString(AkkaOptions.ASK_TIMEOUT, 
"10000000 s");
+                       rpcService1 = new AkkaRpcService(actorSystem1, 
AkkaRpcServiceConfiguration.fromConfiguration(configuration));
+                       rpcService2 = new AkkaRpcService(actorSystem2, 
AkkaRpcServiceConfiguration.fromConfiguration(configuration));
 
 Review comment:
   no need to create two `AkkaRpcServiceConfigurations` here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to