Commit e9440ad5 authored by Phillip Webb's avatar Phillip Webb

Formatting

parent 3e8cafaf
...@@ -115,8 +115,10 @@ public class CrshAutoConfigurationTests { ...@@ -115,8 +115,10 @@ public class CrshAutoConfigurationTests {
PluginLifeCycle lifeCycle = this.context.getBean(PluginLifeCycle.class); PluginLifeCycle lifeCycle = this.context.getBean(PluginLifeCycle.class);
assertEquals("3333", lifeCycle.getConfig().getProperty("crash.ssh.port")); assertEquals("3333", lifeCycle.getConfig().getProperty("crash.ssh.port"));
assertEquals("600000", lifeCycle.getConfig().getProperty("crash.ssh.auth_timeout")); assertEquals("600000",
assertEquals("600000", lifeCycle.getConfig().getProperty("crash.ssh.idle_timeout")); lifeCycle.getConfig().getProperty("crash.ssh.auth_timeout"));
assertEquals("600000",
lifeCycle.getConfig().getProperty("crash.ssh.idle_timeout"));
} }
@Test @Test
...@@ -142,8 +144,10 @@ public class CrshAutoConfigurationTests { ...@@ -142,8 +144,10 @@ public class CrshAutoConfigurationTests {
PluginLifeCycle lifeCycle = this.context.getBean(PluginLifeCycle.class); PluginLifeCycle lifeCycle = this.context.getBean(PluginLifeCycle.class);
assertEquals("300000", lifeCycle.getConfig().getProperty("crash.ssh.auth_timeout")); assertEquals("300000",
assertEquals("400000", lifeCycle.getConfig().getProperty("crash.ssh.idle_timeout")); lifeCycle.getConfig().getProperty("crash.ssh.auth_timeout"));
assertEquals("400000",
lifeCycle.getConfig().getProperty("crash.ssh.idle_timeout"));
} }
private void load(MockEnvironment env) { private void load(MockEnvironment env) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment