Skip to content

Commit f6ca1de

Browse files
authored
Update IntegrationTestRule.java
1 parent a9b16c9 commit f6ca1de

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

integration-tests/src/main/java/com/fnproject/fn/integrationtest/IntegrationTestRule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ public TestContext withDirFrom(String location) throws IOException {
152152
public CmdResult runFnWithInput(String input, String... args) throws Exception {
153153
CmdResult res = runFnWithInputAllowError(input, args);
154154

155-
// if (!res.isSuccess()) {
156-
// System.out.println(res);
157-
// }
155+
if (res.isSuccess() == false) {
156+
System.out.println(res.toString());
157+
}
158158
Assertions.assertThat(res.isSuccess()).withFailMessage("Expected command '" + res.cmd + "' to return 0").isTrue();
159159
return res;
160160
}

0 commit comments

Comments
 (0)