You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a test using `WithFunction` contains multiple test method, the function will be started multiple time, wich will fail the test.
Using an atomic boolean to be sure that the function is only started once fixes the issue.
Fixes#44661
Copy file name to clipboardexpand all lines: integration-tests/google-cloud-functions/src/test/java/io/quarkus/gcp/function/test/HttpFunctionTestCase.java
+11
Original file line number
Diff line number
Diff line change
@@ -21,4 +21,15 @@ public void test() {
21
21
.statusCode(200)
22
22
.body(is("Hello World!"));
23
23
}
24
+
25
+
// we do twice the test to be sure we can call multiple time the same function
Copy file name to clipboardexpand all lines: test-framework/google-cloud-functions/src/main/java/io/quarkus/google/cloud/functions/test/CloudFunctionTestResource.java
0 commit comments