@@ -26,8 +26,8 @@ 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" , "create" , "app" , tc .appName ());
30- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
29+ // tc.runFn("--verbose", "create", "app", tc.appName());
30+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "-- app" , tc .appName (), "--local" );
3131 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
3232 CmdResult r = tc .runFnWithInput ("1" , "invoke" , tc .appName (), "flowbasic" );
3333 assertThat (r .getStdout ()).isEqualTo ("4" );
@@ -38,8 +38,8 @@ public void shouldInvokeBasicFlow() throws Exception {
3838 public void shouldInvokeBasicFlowJDK8 () throws Exception {
3939 IntegrationTestRule .TestContext tc = testRule .newTest ();
4040 tc .withDirFrom ("funcs/flowBasicJDK8" ).rewritePOM ();
41- tc .runFn ("--verbose" , "create" , "app" , tc .appName ());
42- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
41+ // tc.runFn("--verbose", "create", "app", tc.appName());
42+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "-- app" , tc .appName (), "--local" );
4343 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
4444 CmdResult r = tc .runFnWithInput ("1" , "invoke" , tc .appName (), "flowbasicj8" );
4545 assertThat (r .getStdout ()).isEqualTo ("4" );
@@ -50,8 +50,8 @@ public void shouldInvokeBasicFlowJDK8() throws Exception {
5050 public void shouldExerciseAllFlow () throws Exception {
5151 IntegrationTestRule .TestContext tc = testRule .newTest ();
5252 tc .withDirFrom ("funcs/flowAllFeatures" ).rewritePOM ();
53- tc .runFn ("--verbose" , "create" , "app" , tc .appName ());
54- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
53+ // tc.runFn("--verbose", "create", "app", tc.appName());
54+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "-- app" , tc .appName (), "--local" );
5555 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
5656 CmdResult r = tc .runFnWithInput ("1" , "invoke" , tc .appName (), "flowallfeatures" );
5757 assertThat (r .getStdout ()).contains ("Everything worked" );
@@ -76,8 +76,8 @@ public void shouldCallExitHooks() throws Exception {
7676 IntegrationTestRule .TestContext tc = testRule .newTest ();
7777 tc .withDirFrom ("funcs/flowExitHooks" ).rewritePOM ();
7878 tc .runFn ("--verbose" , "build" , "--no-cache" );
79-
80- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
79+ //tc.runFn("--verbose", "create", "app", tc.appName());
80+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "-- app" , tc .appName (), "--local" );
8181 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
8282 tc .runFn ("config" , "app" , tc .appName (), "TERMINATION_HOOK_URL" , "http://" + testRule .getDockerLocalhost () + ":" + 8000 + "/exited" );
8383 CmdResult r = tc .runFnWithInput ("1" , "invoke" , tc .appName (), "flowexithooks" );
@@ -95,7 +95,8 @@ public void shouldCallExitHooks() throws Exception {
9595 public void shouldHandleTimeouts () throws Exception {
9696 IntegrationTestRule .TestContext tc = testRule .newTest ();
9797 tc .withDirFrom ("funcs/flowTimeouts" ).rewritePOM ();
98- tc .runFn ("--verbose" , "deploy" , "--app" , tc .appName (), "--local" );
98+ //tc.runFn("--verbose", "create", "app", tc.appName());
99+ tc .runFn ("--verbose" , "deploy" , "--create-app" , "--app" , tc .appName (), "--local" );
99100 tc .runFn ("config" , "app" , tc .appName (), "COMPLETER_BASE_URL" , testRule .getFlowURL ());
100101 CmdResult r = tc .runFn ("invoke" , tc .appName (), "flowtimeouts" );
101102 assertThat (r .getStdout ()).contains ("timeout" );
0 commit comments