@@ -26,7 +26,7 @@ public class FlowTest {
2626 public void shouldInvokeBasicFlow () throws Exception {
2727 IntegrationTestRule .TestContext tc = testRule .newTest ();
2828 tc .withDirFrom ("funcs/flowBasic" ).rewritePOM ();
29- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
29+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "-- app" , tc .appName (), "--local" );
3030 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
3131 CmdResult r = tc .runFnWithInput ("1" , "invoke" , tc .appName (), "flowbasic" );
3232 assertThat (r .getStdout ()).isEqualTo ("4" );
@@ -37,7 +37,7 @@ public void shouldInvokeBasicFlow() throws Exception {
3737 public void shouldInvokeBasicFlowJDK8 () throws Exception {
3838 IntegrationTestRule .TestContext tc = testRule .newTest ();
3939 tc .withDirFrom ("funcs/flowBasicJDK8" ).rewritePOM ();
40- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
40+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "-- app" , tc .appName (), "--local" );
4141 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
4242 CmdResult r = tc .runFnWithInput ("1" , "invoke" , tc .appName (), "flowbasicj8" );
4343 assertThat (r .getStdout ()).isEqualTo ("4" );
@@ -48,7 +48,7 @@ public void shouldInvokeBasicFlowJDK8() throws Exception {
4848 public void shouldExerciseAllFlow () throws Exception {
4949 IntegrationTestRule .TestContext tc = testRule .newTest ();
5050 tc .withDirFrom ("funcs/flowAllFeatures" ).rewritePOM ();
51- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
51+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "-- app" , tc .appName (), "--local" );
5252 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
5353 CmdResult r = tc .runFnWithInput ("1" , "invoke" , tc .appName (), "flowallfeatures" );
5454 assertThat (r .getStdout ()).contains ("Everything worked" );
@@ -73,8 +73,7 @@ public void shouldCallExitHooks() throws Exception {
7373 IntegrationTestRule .TestContext tc = testRule .newTest ();
7474 tc .withDirFrom ("funcs/flowExitHooks" ).rewritePOM ();
7575 tc .runFn ("--verbose" , "build" , "--no-cache" );
76-
77- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
76+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "--app" , tc .appName (), "--local" );
7877 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
7978 tc .runFn ("config" , "app" , tc .appName (), "TERMINATION_HOOK_URL" , "http://" + testRule .getDockerLocalhost () + ":" + 8000 + "/exited" );
8079 CmdResult r = tc .runFnWithInput ("1" , "invoke" , tc .appName (), "flowexithooks" );
@@ -92,7 +91,7 @@ public void shouldCallExitHooks() throws Exception {
9291 public void shouldHandleTimeouts () throws Exception {
9392 IntegrationTestRule .TestContext tc = testRule .newTest ();
9493 tc .withDirFrom ("funcs/flowTimeouts" ).rewritePOM ();
95- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
94+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "-- app" , tc .appName (), "--local" );
9695 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
9796 CmdResult r = tc .runFn ("invoke" , tc .appName (), "flowtimeouts" );
9897 assertThat (r .getStdout ()).contains ("timeout" );
0 commit comments