[jboss-jira] [JBoss JIRA] (WFLY-10942) IIOPTimeoutTestCase fails intermittently

Cheng Fang (Jira) issues at jboss.org
Mon May 4 18:33:00 EDT 2020


    [ https://issues.redhat.com/browse/WFLY-10942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076182#comment-14076182 ] 

Cheng Fang commented on WFLY-10942:
-----------------------------------

This test, along with many other tests, uses a singleton ejb {{TransactionCheckerSingleton}} to record the bean invocation activities, such as number of rollbacks, beforeCompletion, afterCompletion calls.

{{TransactionCheckerSingleton}} is updated by test ejbs, and accessed by test client from different threads for verification purpose. When a test client reads stale cached values (not the expected result), the test will fail.

> IIOPTimeoutTestCase fails intermittently
> ----------------------------------------
>
>                 Key: WFLY-10942
>                 URL: https://issues.redhat.com/browse/WFLY-10942
>             Project: WildFly
>          Issue Type: Bug
>          Components: IIOP
>    Affects Versions: 14.0.0.Beta2
>            Reporter: Tomasz Adamski
>            Assignee: Cheng Fang
>            Priority: Major
>
> {code}
> java.lang.AssertionError: Synchronization after completion should be called expected:<1> but was:<0>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:645)
> 	at org.jboss.as.test.iiop.transaction.timeout.IIOPTimeoutTestCase.timeoutStateful(IIOPTimeoutTestCase.java:175)
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list