[infinispan-issues] [JBoss JIRA] (ISPN-10108) Query Project - Store the test results using TestNG

Dan Berindei (Jira) issues at jboss.org
Wed Apr 10 03:01:00 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-10108:
--------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 10.0.0.Beta4
       Resolution: Done


The query module actually uses both TestNG and JUnit. But when a module uses both TestNG and JUnit Surefire runs all the tests with TestNG, in 2 separate ITestSuites, so PolarionJUnitXMLReporter writes one report for the TestNG tests and one report for the JUnit tests. That's why we don't need Surefire's default reports for the JUnit tests.

> Query Project - Store the test results using TestNG
> ---------------------------------------------------
>
>                 Key: ISPN-10108
>                 URL: https://issues.jboss.org/browse/ISPN-10108
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 9.4.11.Final, 10.0.0.Final
>            Reporter: Diego Lovison
>            Assignee: Diego Lovison
>            Priority: Major
>             Fix For: 10.0.0.Beta4
>
>
> Running the command {{mvn verify -pl 'query' -Dtest=MassIndexerAsyncBackendTest}} from the root folder will produce two XMLs
> TEST-infinispan-query.xml
> TEST-org.infinispan.query.distributed.MassIndexerAsyncBackendTest.xml
> One will be the Junit report and the other one will be the Polarion Report.
> The query project uses TestNG instead of JUNIT
> I would like to fix the following
> {code:xml}
> <testcase name="query.distributed.MassIndexerAsyncBackendTest" classname="org.infinispan.query.distributed.MassIndexerAsyncBackendTest" time="3.469"/>
> {code}



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


More information about the infinispan-issues mailing list