Running arquillian tests on gerrit reviews

David Caro Estevez dcaro at redhat.com
Wed Jun 15 12:39:01 UTC 2016


On 06/15 14:36, Roman Mohr wrote:
> Hi,
> 
> Recently we merged some patches which can run arquillian unit tests
> with a database (this means running ovirt commands without mocking and
> working injections). They do a commit rollback after each test in the
> db like th DAO tests:
> 
> https://gerrit.ovirt.org/#/q/status:merged+project:ovirt-engine+branch:master+topic:integration
> 
> I am wondering if we can include them in the jenkins/gerrit flow. They
> can be executed like this:
> 
>     mvn clean verify -DskipITs=false
> 
> This command also makes sure that the database is up to date by
> applying the database scripts.
> 
> Would be glad to get some feedback on how to integrate them in our CI flows.

To do so you just have to add that command to the automation/check-patch.sh
script in the ovirt-engine git repo (you should also fail if it fails and such)

> 
> Roman
> _______________________________________________
> Infra mailing list
> Infra at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/infra

-- 
David Caro

Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D

Tel.: +420 532 294 605
Email: dcaro at redhat.com
IRC: dcaro|dcaroest@{freenode|oftc|redhat}
Web: www.redhat.com
RHT Global #: 82-62605
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20160615/d1f0b8c9/attachment.sig>


More information about the Infra mailing list