[OpenStack-Infra] Git-review tests
Dina Belova
dbelova at mirantis.com
Mon Jul 1 09:01:57 UTC 2013
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 <fungi at yuggoth.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20130701/5a61f1bd/attachment.html>
More information about the OpenStack-Infra
mailing list