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

TransactionalObserverTest.testSucessfullTransaction() unstable

XMLWordPrintable

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

      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);
      

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

                Created:
                Updated:
                Resolved: