Closed
Description
Ed Randall opened SPR-6132 and commented
When an @Test
method executes an EJB annotated with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
, it seems that the test transaction is consumed when the REQUIRES_NEW
transaction completes. Subsequent transaction behavior then becomes unexpected.
Affects: 3.0.5
Reference URL: http://forum.springsource.org/showthread.php?p=261074
Attachments:
- requiresnew.zip (4.15 kB)
Issue Links:
- No bean of type ConfigurableEnvironment in AbstractTestNGSpringContextTests [SPR-14834] #19400 No bean of type ConfigurableEnvironment in AbstractTestNGSpringContextTests
- ApplicationContext fails to load in TestNG test if previous test is annotated with @DirtiesContext [SPR-12918] #17517 ApplicationContext fails to load in TestNG test if previous test is annotated with
@DirtiesContext
- Improve documentation of transactional support in the TestContext framework [SPR-11399] #16026 Improve documentation of transactional support in the TestContext framework
- Include TestContext in log message when starting a new transaction in TransactionalTestExecutionListener [SPR-11323] #15947 Include TestContext in log message when starting a new transaction in TransactionalTestExecutionListener
- Support timed transactional TestNG tests in the TestContext framework [SPR-6124] #10792 Support timed transactional TestNG tests in the TestContext framework
Referenced from: commits 8105011, e20c927, c0eafa9
15 votes, 9 watchers