Vladimir, is there any reason why the CDI test suite doesn't use the same
TestNG version as the core test suite?
BTW, the latest TestNG version is 6.7, we might want to consider an upgrade
for all the projects.
On Wed, Sep 5, 2012 at 2:29 PM, Vladimir Blagojevic <vblagoje(a)redhat.com>wrote:
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@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#noconfigfor
>> 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(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev