Change in ovirt-engine[master]: Give integration tests access to a mocked TransactionManager

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@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@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Peřina <mperina@redhat.com> Gerrit-Reviewer: Martin Sivák <msivak@redhat.com> Gerrit-Reviewer: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: Roman Mohr <rmohr@redhat.com> Gerrit-Reviewer: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
rgolan@redhat.com