Change in ovirt-engine[master]: Give integration tests access to a mocked TransactionManager
rgolan at redhat.com
rgolan at redhat.com
Wed Jun 1 15:30:08 UTC 2016
Roy Golan has submitted this change and it was merged.
Change subject: Give integration tests access to a mocked TransactionManager
......................................................................
Give integration tests access to a mocked TransactionManager
In order to make functional tests of commands possible without a real
transaction manager, every functional test which inherits from
TransactionalTestBase has now access to a mocked transaction manager.
Since the changes should be rolled back anyway after the test wrapping
every test in one big transaction which is marked as rollback should be
good enough for many cases.
Change-Id: I47bfd5c13fbaf017071647e545a6ce93dc71cae3
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/RollbackTest.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/TransactionalTestBase.java
2 files changed, 12 insertions(+), 3 deletions(-)
Approvals:
Martin Peřina: Looks good to me, but someone else must approve
Martin Sivák: Looks good to me, but someone else must approve
Roman Mohr: Verified
Jenkins CI: Passed CI tests
Roy Golan: Looks good to me, approved
Moti Asayag: Looks good to me, but someone else must approve
--
To view, visit https://gerrit.ovirt.org/54034
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I47bfd5c13fbaf017071647e545a6ce93dc71cae3
Gerrit-PatchSet: 14
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika 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: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list