Skip to content

Commit 27f1458

Browse files
author
ace-n
committed
DBG take 2
1 parent e9f08a2 commit 27f1458

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

functions/helloworld/hello-http/src/test/java/functions/ExampleIntegrationTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ public static void setUp() throws IOException {
5151
// Get the sample's base directory (the one containing a pom.xml file)
5252
String baseDir = System.getProperty("basedir");
5353

54-
System.err.println("DBG DIR: " + baseDir);
55-
System.err.println("DBG BASE_URL: " + BASE_URL);
56-
5754
// Emulate the function locally by running the Functions Framework Maven plugin
5855
emulatorProcess = new ProcessBuilder()
5956
.command("mvn", "function:run")
@@ -89,7 +86,8 @@ public void helloHttp_shouldRunWithFunctionsFramework() throws Throwable {
8986
).apply();
9087

9188
// Verify the function returned the right results
92-
assertThat(body).isEqualTo("Hello world!");
89+
String expected = String.format("%s / %s", System.getProperty("basedir"), BASE_URL);
90+
assertThat(body).isEqualTo(expected);
9391
}
9492
}
9593
// [END functions_http_integration_test]

0 commit comments

Comments
 (0)