Issue Type: Bug Bug
Affects Versions: 1.1.0.Alpha2
Assignee: Martin Kouba
Components: Tests
Created: 28/Jun/12 7:18 AM
Description:

Failed tests: testCustomTransactionalObserver(org.jboss.cdi.tck.tests.event.observer.transactional.custom.CustomTransactionalObserverTest): expected:<ActionSequence [data=[checkpoint, BEFORE_COMPLETION, AFTER_SUCCESS, AFTER_COMPLETION]]> but was:<ActionSequence [data=[checkpoint, BEFORE_COMPLETION, AFTER_COMPLETION, AFTER_SUCCESS]]>

Transactional observer methods that declare one of the following transaction phases:

AFTER_COMPLETION
AFTER_SUCCESS
AFTER_FAILURE

are all executed in the "after completion phase" of the transaction. The difference is only in the outcome of the transaction. There is no ordering specified between AFTER_COMPLETION, AFTER_SUCCESS and AFTER_FAILURE notifications.

The test incorrectly assumes that an AFTER_SUCCESS observer method must be notified before an AFTER_COMPLETION observer method which is a wrong assumption.

Fix Versions: 1.1.0.Alpha3
Project: CDI TCK
Priority: Major Major
Reporter: Jozef Hartinger
Security Level: Public (Everyone can see)
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