[weld-issues] [JBoss JIRA] (CDITCK-270) TransactionalObserverTest.testSucessfullTransaction() unstable
Martin Kouba (JIRA)
jira-events at lists.jboss.org
Wed Apr 25 07:57:17 EDT 2012
[ https://issues.jboss.org/browse/CDITCK-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12687534#comment-12687534 ]
Martin Kouba commented on CDITCK-270:
-------------------------------------
You're right. I will replace those timestamp assertions (checkpoints) with something more transparent.
> TransactionalObserverTest.testSucessfullTransaction() unstable
> --------------------------------------------------------------
>
> Key: CDITCK-270
> URL: https://issues.jboss.org/browse/CDITCK-270
> Project: CDI TCK
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Tests
> Affects Versions: 1.1.0.Alpha2
> Reporter: Jozef Hartinger
> Assignee: Martin Kouba
> Fix For: TBC
>
>
> org.jboss.cdi.tck.tests.event.observer.transactional.TransactionalObserverTest.testSucessfullTransaction() seems to be failing randomly with
> java.lang.AssertionError: expected:<true> but was:<false> on line 48
> I guess the following assertion is not valid since both "checkpoints" may be set in the same millisecond
> {code:JAVA}
> assertTrue(AccountTransactionObserver.beforeCompletionObservedTime > checkpoint);
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list