Change in ovirt-engine[master]: scheduler: Update database before running integration tests

Roy Golan has submitted this change and it was merged. Change subject: scheduler: Update database before running integration tests ...................................................................... scheduler: Update database before running integration tests Apply all database changes in the pre-integration-test phase. This is by default done with the 'apply' command of the schema.sh script. Switching branches can lead to incompatible database states. Therefore it is possible to force maven to recreate the whole database by using the system property 'engine.db.command' with the value 'recreate'. Example: mvn clean verify -Dengine.db.command=recreate -DskipITs=false When skipping integrations tests (which is the default), the database update hook in pre-integration-test is skipped too. Change-Id: Ie1fe902255eb4b35dbabb140a5b0c6eb97cba86f Signed-off-by: Roman Mohr <rmohr@redhat.com> --- M backend/manager/modules/bll/pom.xml M packaging/dbscripts/dbfunc-common.sh M packaging/dbscripts/schema.sh 3 files changed, 30 insertions(+), 1 deletion(-) Approvals: Martin Sivák: Looks good to me, but someone else must approve Martin Peřina: Looks good to me, but someone else must approve Roman Mohr: Verified Jenkins CI: Passed CI tests Roy Golan: Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/47135 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie1fe902255eb4b35dbabb140a5b0c6eb97cba86f Gerrit-PatchSet: 24 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roman Mohr <rmohr@redhat.com> Gerrit-Reviewer: Andrej Krejcir <akrejcir@redhat.com> Gerrit-Reviewer: David Caro <dcaro@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: Rafael Martins <rmartins@redhat.com> Gerrit-Reviewer: Roman Mohr <rmohr@redhat.com> Gerrit-Reviewer: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Simone Tiraboschi <stirabos@redhat.com> Gerrit-Reviewer: Yedidyah Bar David <didi@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
rgolan@redhat.com