diff --git a/300-quarkus-vertx-webClient/src/main/resources/application.properties b/300-quarkus-vertx-webClient/src/main/resources/application.properties index cd9938f9..4858f604 100644 --- a/300-quarkus-vertx-webClient/src/main/resources/application.properties +++ b/300-quarkus-vertx-webClient/src/main/resources/application.properties @@ -5,4 +5,7 @@ vertx.webclient.timeout-sec=2 vertx.webclient.retries=3 # Jaeger -quarkus.opentelemetry.tracer.exporter.jaeger.endpoint=http://localhost:14250/api/traces \ No newline at end of file +quarkus.opentelemetry.tracer.exporter.jaeger.endpoint=http://localhost:14250/api/traces + +# debug symbols enabled +quarkus.native.debug.enabled=true \ No newline at end of file diff --git a/300-quarkus-vertx-webClient/src/test/java/io/quarkus/qe/vertx/webclient/ChuckNorrisResourceIT.java b/300-quarkus-vertx-webClient/src/test/java/io/quarkus/qe/vertx/webclient/ChuckNorrisResourceIT.java index b38e7e10..bf99e1a2 100644 --- a/300-quarkus-vertx-webClient/src/test/java/io/quarkus/qe/vertx/webclient/ChuckNorrisResourceIT.java +++ b/300-quarkus-vertx-webClient/src/test/java/io/quarkus/qe/vertx/webclient/ChuckNorrisResourceIT.java @@ -1,7 +1,23 @@ package io.quarkus.qe.vertx.webclient; +import static org.junit.Assert.assertTrue; + +import java.io.File; +import java.net.MalformedURLException; +import java.nio.file.Paths; + +import org.junit.jupiter.api.Test; + import io.quarkus.test.junit.NativeImageTest; @NativeImageTest public class ChuckNorrisResourceIT extends ChuckNorrisResourceTest { + + private static final String DEBUG_SYMBOLS_FILE_NAME = "300-quarkus-vertx-webclient-1.0.0-SNAPSHOT-runner.debug"; + + @Test + public void checkNativeDebugSymbols() throws MalformedURLException { + File debugFile = Paths.get("target", DEBUG_SYMBOLS_FILE_NAME).toFile(); + assertTrue("Missing debug symbols file: " + DEBUG_SYMBOLS_FILE_NAME, debugFile.exists()); + } }