From a11114c3c92f22ce1deed27bc476734255afe5a3 Mon Sep 17 00:00:00 2001 From: Santiago Pericas-Geertsen Date: Tue, 14 Jan 2025 14:22:02 -0500 Subject: [PATCH] Native image test. Signed-off-by: Santiago Pericas-Geertsen --- tests/integration/oidc/.helidon-oidc-secret | 1 + tests/integration/packaging/mp-1/.helidon-oidc-secret | 1 + .../native-image.properties | 3 ++- .../native-image.properties | 5 +++-- .../native-image.properties | 5 +++-- 5 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 tests/integration/oidc/.helidon-oidc-secret create mode 100644 tests/integration/packaging/mp-1/.helidon-oidc-secret diff --git a/tests/integration/oidc/.helidon-oidc-secret b/tests/integration/oidc/.helidon-oidc-secret new file mode 100644 index 00000000000..9f857e865b5 --- /dev/null +++ b/tests/integration/oidc/.helidon-oidc-secret @@ -0,0 +1 @@ +53fbda69-9586-4be6-92f1-6df6d19ed2a5 \ No newline at end of file diff --git a/tests/integration/packaging/mp-1/.helidon-oidc-secret b/tests/integration/packaging/mp-1/.helidon-oidc-secret new file mode 100644 index 00000000000..76b14c8d9fc --- /dev/null +++ b/tests/integration/packaging/mp-1/.helidon-oidc-secret @@ -0,0 +1 @@ +cf4ddeee-561a-4fd9-95a6-088629789633 \ No newline at end of file diff --git a/tests/integration/packaging/mp-1/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp1/native-image.properties b/tests/integration/packaging/mp-1/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp1/native-image.properties index 08b72583ee7..fa0a42035f2 100644 --- a/tests/integration/packaging/mp-1/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp1/native-image.properties +++ b/tests/integration/packaging/mp-1/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp1/native-image.properties @@ -15,4 +15,5 @@ # Args=--initialize-at-build-time=io.helidon.tests.integration.packaging.mp1 \ - --trace-object-instantiation=java.lang.Thread + --trace-object-instantiation=java.lang.Thread \ + --trace-object-instantiation=io.micrometer.prometheus.PrometheusMeterRegistry diff --git a/tests/integration/packaging/mp-2/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp2/native-image.properties b/tests/integration/packaging/mp-2/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp2/native-image.properties index a023fadb1a3..432a4c18310 100644 --- a/tests/integration/packaging/mp-2/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp2/native-image.properties +++ b/tests/integration/packaging/mp-2/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp2/native-image.properties @@ -1,5 +1,5 @@ # -# Copyright (c) 2023, 2024 Oracle and/or its affiliates. +# Copyright (c) 2023, 2025 Oracle and/or its affiliates. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -15,4 +15,5 @@ # Args=--initialize-at-build-time=io.helidon.tests.integration.packaging.mp2 \ - --enable-url-protocols=http + --enable-url-protocols=http \ + --trace-object-instantiation=io.micrometer.prometheus.PrometheusMeterRegistry diff --git a/tests/integration/packaging/mp-3/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp-3/native-image.properties b/tests/integration/packaging/mp-3/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp-3/native-image.properties index af277f9d118..55fe8098fd3 100644 --- a/tests/integration/packaging/mp-3/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp-3/native-image.properties +++ b/tests/integration/packaging/mp-3/src/main/resources/META-INF/native-image/io.helidon.tests.integration.packaging/helidon-tests-integration-packaging-mp-3/native-image.properties @@ -1,5 +1,5 @@ # -# Copyright (c) 2023, 2024 Oracle and/or its affiliates. +# Copyright (c) 2023, 2025 Oracle and/or its affiliates. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,4 +14,5 @@ # limitations under the License. # -Args=--initialize-at-build-time=io.helidon.tests.integration.packaging.mp3 +Args=--initialize-at-build-time=io.helidon.tests.integration.packaging.mp3 \ + --trace-object-instantiation=io.micrometer.prometheus.PrometheusMeterRegistry