]
Dan Berindei updated ISPN-10020:
--------------------------------
Git Pull Request:
PolarionJUnitXMLReporter assertion failure after configuration method
failure
-----------------------------------------------------------------------------
Key: ISPN-10020
URL:
https://issues.jboss.org/browse/ISPN-10020
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.4.8.Final, 10.0.0.Beta2
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Minor
Fix For: 10.0.0.Beta3
{noformat}
16:48:30,946 ERROR (testng-ExceptionEvictionTest:[]) [TestSuiteProgress] Test failed:
org.infinispan.eviction.impl.ExceptionEvictionTest.testEntryExpirationOverwritten[DIST_SYNC,
nodeCount=3, storageType=OFF_HEAP, optimisticTransaction=false]
java.lang.IllegalStateException: Duplicate test:
org.infinispan.eviction.impl.ExceptionEvictionTest.testEntryExpirationOverwritten[DIST_SYNC,
nodeCount=3, storageType=OFF_HEAP, optimisticTransaction=false]
at
org.infinispan.commons.test.PolarionJUnitXMLReporter.checkDuplicatesAndAdd(PolarionJUnitXMLReporter.java:416)
~[infinispan-commons-test-10.0.0-SNAPSHOT.jar:10.0.0-SNAPSHOT]
at
org.infinispan.commons.test.PolarionJUnitXMLReporter.onTestSkipped(PolarionJUnitXMLReporter.java:98)
~[infinispan-commons-test-10.0.0-SNAPSHOT.jar:10.0.0-SNAPSHOT]
at org.testng.internal.TestListenerHelper.runTestListeners(TestListenerHelper.java:61)
[testng-6.14.3.jar:?]
at org.testng.internal.Invoker.runTestListeners(Invoker.java:1389)
[testng-6.14.3.jar:?]
at org.testng.internal.Invoker.registerSkippedTestResult(Invoker.java:1063)
[testng-6.14.3.jar:?]
{noformat}
When TestNG skips a test method because a configuration method failed, it doesn't
pass listeners the parameter values generated by the data provider, so
{{PolarionJUnitXMLReporter}} can't generate a unique name for the test method
execution.