[infinispan-issues] [JBoss JIRA] (ISPN-4118) Unreliable test: ThreadLocalLeakTest.testCheckThreadLocalLeaks

Sanne Grinovero (JIRA) issues at jboss.org
Mon Jun 9 14:55:15 EDT 2014


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

Sanne Grinovero updated ISPN-4118:
----------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> Unreliable test: ThreadLocalLeakTest.testCheckThreadLocalLeaks
> --------------------------------------------------------------
>
>                 Key: ISPN-4118
>                 URL: https://issues.jboss.org/browse/ISPN-4118
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Core
>            Reporter: Sanne Grinovero
>            Assignee: Dan Berindei
>            Priority: Minor
>             Fix For: 7.0.0.Beta1
>
>
> {noformat}Tests run: 4277, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 413.34 sec <<< FAILURE!
> testCheckThreadLocalLeaks(org.infinispan.util.ThreadLocalLeakTest)  Time elapsed: 0.022 sec  <<< FAILURE!
> java.lang.IllegalStateException: Thread locals still present: {ForkThread-1,ThreadLocalLeakTest={java.lang.ThreadLocal at 45cd9a4c=org.infinispan.commons.util.concurrent.jdk8backported.EquivalentConcurrentHashMapV8$CounterHashCode at 3d4d1761}}
> 	at org.infinispan.util.ThreadLocalLeakTest.testCheckThreadLocalLeaks(ThreadLocalLeakTest.java:87)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:767)
> 	at org.testng.TestRunner.run(TestRunner.java:617)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> 	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> 	at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:744)
> Results :
> Failed tests: 
>   ThreadLocalLeakTest.testCheckThreadLocalLeaks:87 IllegalState Thread locals st...
> Tests run: 4277, Failures: 1, Errors: 0, Skipped: 0
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list