Skip to content

Commit 712aa4a

Browse files
committed
removal of comments
1 parent ab5a3ad commit 712aa4a

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

integration-tests/src/test/java/com/fnproject/fn/integrationtest/FlowTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ 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());
3029
tc.runFn("--verbose", "deploy", "--create-app", "--app", tc.appName(), "--local");
3130
tc.runFn("config", "app", tc.appName(), "COMPLETER_BASE_URL", testRule.getFlowURL());
3231
CmdResult r = tc.runFnWithInput("1", "invoke", tc.appName(), "flowbasic");
@@ -38,7 +37,6 @@ public void shouldInvokeBasicFlow() throws Exception {
3837
public void shouldInvokeBasicFlowJDK8() throws Exception {
3938
IntegrationTestRule.TestContext tc = testRule.newTest();
4039
tc.withDirFrom("funcs/flowBasicJDK8").rewritePOM();
41-
//tc.runFn("--verbose", "create", "app", tc.appName());
4240
tc.runFn("--verbose", "deploy", "--create-app", "--app", tc.appName(), "--local");
4341
tc.runFn("config", "app", tc.appName(), "COMPLETER_BASE_URL", testRule.getFlowURL());
4442
CmdResult r = tc.runFnWithInput("1", "invoke", tc.appName(), "flowbasicj8");
@@ -50,7 +48,6 @@ public void shouldInvokeBasicFlowJDK8() throws Exception {
5048
public void shouldExerciseAllFlow() throws Exception {
5149
IntegrationTestRule.TestContext tc = testRule.newTest();
5250
tc.withDirFrom("funcs/flowAllFeatures").rewritePOM();
53-
//tc.runFn("--verbose", "create", "app", tc.appName());
5451
tc.runFn("--verbose", "deploy", "--create-app", "--app", tc.appName(), "--local");
5552
tc.runFn("config", "app", tc.appName(), "COMPLETER_BASE_URL", testRule.getFlowURL());
5653
CmdResult r = tc.runFnWithInput("1", "invoke", tc.appName(), "flowallfeatures");
@@ -76,7 +73,6 @@ public void shouldCallExitHooks() throws Exception {
7673
IntegrationTestRule.TestContext tc = testRule.newTest();
7774
tc.withDirFrom("funcs/flowExitHooks").rewritePOM();
7875
tc.runFn("--verbose", "build", "--no-cache");
79-
//tc.runFn("--verbose", "create", "app", tc.appName());
8076
tc.runFn("--verbose", "deploy", "--create-app", "--app", tc.appName(), "--local");
8177
tc.runFn("config", "app", tc.appName(), "COMPLETER_BASE_URL", testRule.getFlowURL());
8278
tc.runFn("config", "app", tc.appName(), "TERMINATION_HOOK_URL", "http://" + testRule.getDockerLocalhost() + ":" + 8000 + "/exited");
@@ -95,7 +91,6 @@ public void shouldCallExitHooks() throws Exception {
9591
public void shouldHandleTimeouts() throws Exception {
9692
IntegrationTestRule.TestContext tc = testRule.newTest();
9793
tc.withDirFrom("funcs/flowTimeouts").rewritePOM();
98-
//tc.runFn("--verbose", "create", "app", tc.appName());
9994
tc.runFn("--verbose", "deploy", "--create-app", "--app", tc.appName(), "--local");
10095
tc.runFn("config", "app", tc.appName(), "COMPLETER_BASE_URL", testRule.getFlowURL());
10196
CmdResult r = tc.runFn("invoke", tc.appName(), "flowtimeouts");

integration-tests/src/test/java/com/fnproject/fn/integrationtest/FunctionsTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public void shouldCallExistingFn() throws Exception {
3232
IntegrationTestRule.TestContext tc = testRule.newTest();
3333
tc.withDirFrom("funcs/simpleFunc").rewritePOM();
3434

35-
//tc.runFn("--verbose", "create", "app", tc.appName());
3635
tc.runFn("--verbose", "deploy", "--create-app", "--app", tc.appName(), "--local");
3736
tc.runFn("config", "app", tc.appName(), "GREETING", "Salutations");
3837

@@ -48,7 +47,6 @@ public void shouldCallExistingFn() throws Exception {
4847
public void checkBoilerPlate() throws Exception {
4948
for (String runtime : new String[]{"java8", "java11"}) {
5049
IntegrationTestRule.TestContext tc = testRule.newTest();
51-
//tc.runFn("--verbose", "create", "app", tc.appName());
5250
String fnName = "bp" + runtime;
5351
tc.runFn("init", "--runtime", runtime, "--name", fnName);
5452
tc.rewritePOM();
@@ -68,7 +66,6 @@ public static class InspectResponse {
6866
public void shouldHandleTrigger() throws Exception {
6967
IntegrationTestRule.TestContext tc = testRule.newTest();
7068
tc.withDirFrom("funcs/httpgwfunc").rewritePOM();
71-
//tc.runFn("--verbose", "create", "app", tc.appName());
7269
tc.runFn("--verbose", "deploy", "--create-app", "--app", tc.appName(), "--local");
7370

7471
// Get me the trigger URL

0 commit comments

Comments
 (0)