[infinispan-dev] Running CDI test suite

Vladimir Blagojevic vblagoje at redhat.com
Wed Sep 5 07:29:54 EDT 2012


Confirmed. We can fix this issue by using XmlTest#getXmlClasses instead 
of XmlTest#getClasses in UnitTestTestNGListener. I'll issue a pull for 
this simple fix.
On 12-09-05 12:24 PM, Vladimir Blagojevic wrote:
> Ok looks like someone updated UnitTestTestNGListener.java from core
> project to use 5.14.10 testng version where ITestContext testng class
> has method getClasses but in 5.14.6 that method does not exist and it
> seems like we need to use 5.14.6 in cdi project. Investigating....
>
>
> On 12-09-05 11:50 AM, Vladimir Blagojevic wrote:
>> Guys,
>>
>> As I prepared pull request for ISPN-2181 and I rebased to current
>> master, my cdi test suite started to fail with:
>>
>> ------------------------------------------------------
>>     T E S T S
>> -------------------------------------------------------
>> Running TestSuite
>> Configuring TestNG with:
>> org.apache.maven.surefire.testng.conf.TestNGMapConfigurator at 324a4e31
>> log4j:WARN No appenders could be found for logger (org.jboss.logging).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
>> more info.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 33.484s
>> [INFO] Finished at: Wed Sep 05 11:47:54 CEST 2012
>> [INFO] Final Memory: 18M/265M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test
>> (default-test) on project infinispan-cdi: Execution default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test failed:
>> java.lang.reflect.InvocationTargetException; nested exception is
>> java.lang.reflect.InvocationTargetException: null:
>> org.testng.xml.XmlTest.getClasses()Ljava/util/List; -> [Help 1]
>>
>>
>> I thought it must have been something with my branch but then I tried
>> master and it still fails. Any ideas how to fix this one?
>>
>> Regards,
>> Vladimir
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev



More information about the infinispan-dev mailing list