[
https://issues.jboss.org/browse/ISPN-6014?page=com.atlassian.jira.plugin....
]
Adrian Nistor updated ISPN-6014:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.1.0.Final
Resolution: Done
Integrated in master. Thanks!
DebuggingUnitTestNGListener handles threadTestName incorrectly
--------------------------------------------------------------
Key: ISPN-6014
URL:
https://issues.jboss.org/browse/ISPN-6014
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 8.1.0.CR1
Reporter: Martin Gencur
Assignee: Martin Gencur
Fix For: 8.1.0.Final
This results in the following error:
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(default-test) on project infinispan-cli-client: ExecutionException:
java.lang.RuntimeException: There was an error in the forked process
[ERROR] java.lang.IllegalStateException: Test name is not set! Please call
TestResourceTracker.testThreadStarted(this) in thread testng-BatchingTest !
[ERROR] at
org.infinispan.test.fwk.TestResourceTracker.getCurrentTestName(TestResourceTracker.java:77)
[ERROR] at
org.infinispan.test.fwk.TestCacheManagerFactory.amendTransport(TestCacheManagerFactory.java:327)
[ERROR] at
org.infinispan.test.fwk.TestCacheManagerFactory.amendGlobalConfiguration(TestCacheManagerFactory.java:193)
[ERROR] at
org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:185)
[ERROR] at
org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:178)
[ERROR] at
org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:152)
[ERROR] at
org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:148)
[ERROR] at
org.infinispan.test.fwk.DebuggingUnitTestNGListener.checkCleanedUp(DebuggingUnitTestNGListener.java:36)
[ERROR] at
org.infinispan.test.fwk.DebuggingUnitTestNGListener.onFinish(DebuggingUnitTestNGListener.java:32)
[ERROR] at org.testng.TestRunner.fireEvent(TestRunner.java:1241)
[ERROR] at org.testng.TestRunner.afterRun(TestRunner.java:1032)
[ERROR] at org.testng.TestRunner.run(TestRunner.java:621)
[ERROR] at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
[ERROR] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
[ERROR] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
[ERROR] at org.testng.SuiteRunner.run(SuiteRunner.java:254)
[ERROR] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
[ERROR] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
[ERROR] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
[ERROR] at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
[ERROR] at org.testng.TestNG.run(TestNG.java:1057)
[ERROR] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
[ERROR] at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
[ERROR] at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
[ERROR] at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
[ERROR] at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
[ERROR] at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
[ERROR] -> [Help 1]
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)