[jboss-jira] [JBoss JIRA] (DROOLS-3900) Inheriting submarine-examples bom causes Quarkus Native Image integration tests to run anyway on normal JVM
Tibor Zimanyi (Jira)
issues at jboss.org
Thu Apr 18 06:21:01 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-3900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Zimanyi updated DROOLS-3900:
----------------------------------
Sprint: 2019 Week 17-19
> 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/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