[infinispan-issues] [JBoss JIRA] (ISPN-5586) TestResourceTracker.backgroundTestStarted(this) doesn't work from the IDE

Galder Zamarreño (JIRA) issues at jboss.org
Mon Jul 6 10:02:02 EDT 2015


     [ https://issues.jboss.org/browse/ISPN-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-5586:
-----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 8.0.0.Final
       Resolution: Done


> 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: 8.0.0.Alpha2, 7.2.3.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 8.0.0.Beta1, 8.0.0.Final
>
>
> 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