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

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Thu Jun 16 12:58:32 UTC 2016


Piotr Kliczewski 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/58663
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0d62c210ebc488f473f6dcc291f056d7111e1e1f
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Gil Shinar <gshinar at redhat.com>
Gerrit-Reviewer: Anton Marchukov <amarchuk at redhat.com>
Gerrit-Reviewer: Barak Korren
Gerrit-Reviewer: David Caro <dcaro 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: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list