]
Tibor Zimanyi updated DROOLS-3900:
----------------------------------
Story Points: 3
Inheriting submarine-examples bom causes Quarkus Native Image
integration tests to run anyway on normal JVM
-----------------------------------------------------------------------------------------------------------
Key: DROOLS-3900
URL:
https://issues.jboss.org/browse/DROOLS-3900
Project: Drools
Issue Type: Bug
Affects Versions: 8.0.0.Final
Reporter: Matteo Mortari
Assignee: Tibor Zimanyi
Priority: Major
Labels: submarine
Quarkus guidelines are for having Native image test in this form:
{code:java}
import io.quarkus.test.junit.SubstrateTest;
@SubstrateTest
public class NativeByNameDMNEndpointIT extends ByNameDMNEndpointTest {
// Execute the same tests but in native mode.
}
{code}
When the dmn example is inheriting from the submarine-examples bom, it causes those
IT-ending tests to run anyway even on normal JVM.
See this commit exhibit the issue even locally:
https://github.com/kiegroup/submarine-examples/pull/15/commits/1bdd53d89f...
Removing the pom inheritance, the test behavior is back Quarkus guideline