Tal Nisan has submitted this change and it was merged.
Change subject: Adding dao tests to std ci
......................................................................
Adding dao tests to std ci
Basically this patch is all about running dao tests
inside a mock. For this, a postgresql DB should be
installed and run inside the mock.
Added postgres packages to .packages files
Created a new script, dao-tests.sh. This script is
being called only if files that are relevant to DB
had been changed. The script will pick a port
randomly and will update pg_hba.conf file to allow
DB access.
All the rest is the same as how the tests were
running when not in std ci.
Change-Id: I19252210d4692987fa82b323ff2f71543404ea46
Signed-off-by: Gil Shinar <gshinar(a)redhat.com>
---
M automation/check-merged.packages
M automation/check-merged.packages.el6
M automation/check-merged.sh
M automation/check-patch.packages
M automation/check-patch.packages.el6
M automation/check-patch.sh
A automation/dao-tests.sh
7 files changed, 118 insertions(+), 0 deletions(-)
Approvals:
Martin Peřina: Looks good to me, approved
Barak Korren: Looks good to me, but someone else must approve
Gil Shinar: Verified
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/60578
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I19252210d4692987fa82b323ff2f71543404ea46
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Gil Shinar <gshinar(a)redhat.com>
Gerrit-Reviewer: Barak Korren <bkorren(a)redhat.com>
Gerrit-Reviewer: Gil Shinar <gshinar(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>