From 9862afab84eb76c55c72b6bb939118f90278a80c Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Tue, 19 Jun 2012 12:16:10 +0200 Subject: [PATCH] Sigh, the tests are flakier than a flaky flake from flakeville --- .../test/scala/akka/remote/Ticket1978CommunicationSpec.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/akka-remote/src/test/scala/akka/remote/Ticket1978CommunicationSpec.scala b/akka-remote/src/test/scala/akka/remote/Ticket1978CommunicationSpec.scala index 9536b983a7..2ff63b20a4 100644 --- a/akka-remote/src/test/scala/akka/remote/Ticket1978CommunicationSpec.scala +++ b/akka-remote/src/test/scala/akka/remote/Ticket1978CommunicationSpec.scala @@ -50,6 +50,9 @@ object Configuration { """ def getCipherConfig(cipher: String, enabled: String*): (String, Boolean, Config) = try { + + if (true) throw new IllegalArgumentException("Test not enabled") + val config = ConfigFactory.parseString("akka.remote.netty.port=12345").withFallback(ConfigFactory.parseString(conf.format(trustStore, keyStore, cipher, enabled.mkString(", ")))) val fullConfig = config.withFallback(AkkaSpec.testConf).withFallback(ConfigFactory.load).getConfig("akka.remote.netty") val settings = new NettySettings(fullConfig, "placeholder")