[infinispan-issues] [JBoss JIRA] (ISPN-5586) TestResourceTracker.backgroundTestStarted(this) doesn't work from the IDE
Dan Berindei (JIRA)
issues at jboss.org
Thu Jul 2 05:42:02 EDT 2015
Dan Berindei created ISPN-5586:
----------------------------------
Summary: TestResourceTracker.backgroundTestStarted(this) doesn't work from the IDE
Key: ISPN-5586
URL: https://issues.jboss.org/browse/ISPN-5586
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite - Core
Affects Versions: 7.2.3.Final, 8.0.0.Alpha2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 8.0.0.Beta1
When running from an IDE, {{UnitTestTestNGListener}} doesn't (usually) run, so the current test name isn't set on the main thread. ({{TestResourceTracker.getCurrentTestName()}} returns "main").
Calling {{TestResourceTracker.backgroundTestStarted()}} on a worker thread sets the proper test name, and because of {{TEST_PING}}, the cache managers started from the main thread and the worker thread can't join the same cluster.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list