Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-270

TransactionalObserverTest.testSucessfullTransaction() unstable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.0.Alpha3
    • 1.1.0.Alpha2
    • Tests
    • None
    • Release Notes

    Description

      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

      assertTrue(AccountTransactionObserver.beforeCompletionObservedTime > checkpoint);
      

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty