From 992599385be7b923095a48979cac200076f5d2c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pere=20Fern=C3=A0ndez?= Date: Fri, 12 Jan 2024 13:14:07 +0100 Subject: [PATCH] Conditionally disabling IT test when testing native binaries. --- .../java/org/kie/kogito/quarkus/workflows/PythonFlowIT.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quarkus/addons/python/integration-tests/src/test/java/org/kie/kogito/quarkus/workflows/PythonFlowIT.java b/quarkus/addons/python/integration-tests/src/test/java/org/kie/kogito/quarkus/workflows/PythonFlowIT.java index 56ce40fffc7..23d331775ff 100644 --- a/quarkus/addons/python/integration-tests/src/test/java/org/kie/kogito/quarkus/workflows/PythonFlowIT.java +++ b/quarkus/addons/python/integration-tests/src/test/java/org/kie/kogito/quarkus/workflows/PythonFlowIT.java @@ -18,9 +18,9 @@ */ package org.kie.kogito.quarkus.workflows; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; +import io.quarkus.test.junit.DisabledOnIntegrationTest; import io.quarkus.test.junit.QuarkusIntegrationTest; import io.restassured.http.ContentType; @@ -28,7 +28,9 @@ import static org.hamcrest.CoreMatchers.is; @QuarkusIntegrationTest -@Disabled +@DisabledOnIntegrationTest( + value = "Temporarily disabling test since python cannot be properly initialized inside the native image", + forArtifactTypes = DisabledOnIntegrationTest.ArtifactType.NATIVE_BINARY) class PythonFlowIT { @Test