Change in ovirt-engine[master]: core: Improve transaction handling in arquillian based tests
mperina at redhat.com
mperina at redhat.com
Tue Jun 21 11:54:34 UTC 2016
Martin Peřina has submitted this change and it was merged.
Change subject: core: Improve transaction handling in arquillian based tests
......................................................................
core: Improve transaction handling in arquillian based tests
Remove Arquillian rules dependency and implement a cleaner automatic rollback mechanism.
Change-Id: I4b18b23ed19d4d6d6ec66f2c4868a51d5278a23d
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/TransactionalTestBase.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/database/ArquillianRule.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/database/ArquillianRuleExecutor.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/database/ArquillianRuleExtension.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/database/MockTransactionManagerRule.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/database/RollbackRule.java
D backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/database/TransactionRollbackRule.java
A backend/manager/modules/bll/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension
M backend/manager/modules/pom.xml
9 files changed, 115 insertions(+), 53 deletions(-)
Approvals:
Martin Peřina: Looks good to me, approved
Martin Sivák: Looks good to me, but someone else must approve
Roman Mohr: Verified
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/59299
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4b18b23ed19d4d6d6ec66f2c4868a51d5278a23d
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list