[jbosstools-issues] [JBoss JIRA] (JBIDE-13097) test failure in org.jboss.tools.common.el.core.test.ELParserTest.testMultiThreadAccess (from org.jboss.tools.common.el.core.test.CommonELAllTests)

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Nov 19 16:01:21 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-13097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735488#comment-12735488 ] 

Viacheslav Kabanovich edited comment on JBIDE-13097 at 11/19/12 3:59 PM:
-------------------------------------------------------------------------

One more argument that this issue is caused by synchronization.
{code}
Error Message: expected:<9990> but was:<9989>
{code}
Approximately the same EL was parsed 20000 times, of them 9990 times with an EL error added in the same way, and 10010 times without that EL error. Test detected just one less EL error. It seems most probable, that it was not yet processed when unsynchronized Z.counter was set to zero and check performed too early.
                
      was (Author: scabanovich):
    One more argument that this issue is caused by synchronization.
{code}
Error Message: expected:<9990> but was:<9989>
{code}
Approximately the same EL was parsed 20000 times, of them 9990 times with an EL error added in the same way, and 10010 time without that EL error. Test detected just one less EL error. It seems most probable, that it was not yet processed when unsynchronized Z.counter was set to zero and check performed too early.
                  
> test failure in org.jboss.tools.common.el.core.test.ELParserTest.testMultiThreadAccess (from org.jboss.tools.common.el.core.test.CommonELAllTests) 
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13097
>                 URL: https://issues.jboss.org/browse/JBIDE-13097
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 4.0.0.CR1
>            Reporter: Nick Boldt
>            Assignee: Viacheslav Kabanovich
>            Priority: Blocker
>             Fix For: 4.0.0.CR1
>
>
> {code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_6.0.juno/job/jbosstools-4.0_stable_branch.component--base/lastCompletedBuild/testReport/org.jboss.tools.common.el.core.test/ELParserTest/testMultiThreadAccess/}
> Regression
> org.jboss.tools.common.el.core.test.ELParserTest.testMultiThreadAccess (from org.jboss.tools.common.el.core.test.CommonELAllTests)
> Failing for the past 1 build (Since Unstable#31 )
> Error Message: expected:<9990> but was:<9989>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<9990> but was:<9989>
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.failNotEquals(Assert.java:287)
> 	at junit.framework.Assert.assertEquals(Assert.java:67)
> 	at junit.framework.Assert.assertEquals(Assert.java:199)
> 	at junit.framework.Assert.assertEquals(Assert.java:205)
> 	at org.jboss.tools.common.el.core.test.ELParserTest.testMultiThreadAccess(ELParserTest.java:429)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list