Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-3900

Inheriting submarine-examples bom causes Quarkus Native Image integration tests to run anyway on normal JVM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.29.0.Final
    • 8.29.0.Final
    • None
    • 2019 Week 17-19
    • 3
    • NEW
    • NEW

      Quarkus guidelines are for having Native image test in this form:

      import io.quarkus.test.junit.SubstrateTest;
      
      @SubstrateTest
      public class NativeByNameDMNEndpointIT extends ByNameDMNEndpointTest {
      
          // Execute the same tests but in native mode.
      }
      

      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

              tzimanyi@redhat.com Tibor Zimányi
              mmortari@redhat.com Matteo Mortari
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: