[jboss-jira] [JBoss JIRA] (DROOLS-3900) Inheriting submarine-examples bom causes Quarkus Native Image integration tests to run anyway on normal JVM

Matteo Mortari (Jira) issues at jboss.org
Wed Apr 17 06:15:00 EDT 2019


Matteo Mortari created DROOLS-3900:
--------------------------------------

             Summary: 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


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/1bdd53d89fed28821d21d29fd610402761463514

Removing the pom inheritance, the test behavior is back Quarkus guideline




--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list