New patch set added: https://review.openstack.org/#/c/35104/3 testr and testtools were used to to do interesting things like run tests in parallel (sanely) and potentially report partial results back to zuul.
On Mon, Jul 1, 2013 at 1:01 PM, Dina Belova <[email protected]> wrote: > I've created change request with integration tests. Please take a look on > it: > https://review.openstack.org/35104 > > Tests are the Python copy of > https://github.com/fungi/grtest/blob/master/grtest bash file and do not > cover all git-review functionality (this can be done later). > > Tests require Gerrit war file (like 2.6.1-gerrit.war) in the .gerrit > directory in the git-review project (like > git-review/.gerrit/2.6.1-gerrit.war). This has to be done manually. > > To run tests the following command can be done: > > tox -e py27. > > > On Fri, Jun 21, 2013 at 12:50 AM, Jeremy Stanley <[email protected]>wrote: > >> On 2013-06-21 00:01:53 +0400 (+0400), Dina Belova wrote: >> > I may spend some time on this subject, so please share your >> > script if you can so that I can look through it and see what can >> > be done to provide some automated gating. >> >> (Removed openstack-dev from the Cc: to reduce unnecessary >> cross-posting.) >> >> The current, very hideous exercise script can be had from... >> >> https://github.com/fungi/grtest/blob/master/grtest >> >> It assumes a number of things about our Gerrit sandbox including >> project layout/contents. It also (if invoked with --system) will >> sudo pip install the version of git-review you're testing, so it's >> not recommended for running on any sensitive systems... I usually >> use a throwaway VM if I'm doing system install/upgrade/uninstall >> tests with it. >> -- >> Jeremy Stanley >> > > > > -- > Best regards, > Dina > -- Best regards, Dina
_______________________________________________ OpenStack-Infra mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
