Change in ovirt-engine[master]: Adding dao tests to std ci

mperina at redhat.com mperina at redhat.com
Tue Jun 14 21:03:39 UTC 2016


Martin Peřina 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: If01639ebd0e346e0bd724a3b9ec68b44e7e9e765
Signed-off-by: Gil Shinar <gshinar at redhat.com>
---
M automation/check-merged.packages
M automation/check-merged.sh
M automation/check-patch.packages
A automation/check-patch.packages.el6
M automation/check-patch.sh
A automation/dao-tests.sh
6 files changed, 119 insertions(+), 0 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, approved
  Eyal Edri: Looks good to me, but someone else must approve
  Gil Shinar: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/58633
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If01639ebd0e346e0bd724a3b9ec68b44e7e9e765
Gerrit-PatchSet: 18
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gil Shinar <gshinar at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Gil Shinar <gshinar at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list