Convert thread to an actual application
User can now use spring boot CLI as before or alternatively just java -jar the deployer app.
This commit is contained in:
@@ -30,7 +30,7 @@ public class LauncherCommandTests {
|
||||
|
||||
@Rule
|
||||
public OutputCapture output = new OutputCapture();
|
||||
|
||||
|
||||
@Test
|
||||
public void testCreateClassLoaderAndListDeployables() throws Exception {
|
||||
new LauncherCommand().run("--list");
|
||||
@@ -39,7 +39,8 @@ public class LauncherCommandTests {
|
||||
|
||||
@Test
|
||||
public void testNonOptionArgsPassedDown() throws Exception {
|
||||
new LauncherCommand().run("--list", "--", "--spring.profiles.active=test");
|
||||
new LauncherCommand().run("--list", "--", "--spring.profiles.active=test",
|
||||
"--spring.config.location=file:./src/test/resources/");
|
||||
assertThat(output.toString(), containsString("foo"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user