From: Thomas Goirand Date: Tue, 23 Dec 2014 07:55:34 +0000 (+0800) Subject: Fixed running mongodb unit tests. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=6184e58e87050ae9efaa1147006abfd182857606;hp=99a459d659782c085ac26848aa4b0fdd06cad23d;p=openstack-build%2Fceilometer-build.git Fixed running mongodb unit tests. Change-Id: I73acb3407560497cc0b3cf7cc2007e2d87d6b80c Rewritten-From: d3340dea586dc5307806eb1f003cd72b9317efb2 --- diff --git a/xenial/debian/rules b/xenial/debian/rules index 1d6cd3a..baaf59d 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -45,7 +45,7 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) testr init set -e && \ TEMP_REZ=`mktemp -t` && \ - bash -x ./setup-test-env.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit || true ; \ + bash -x ./setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit || true ; \ cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \ rm -f $$TEMP_REZ ; testr slowest