Sigh, the tests are flakier than a flaky flake from flakeville

This commit is contained in:
Viktor Klang 2012-06-19 12:16:10 +02:00
parent 32562652af
commit 9862afab84

View file

@ -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")