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=1895b44c4afb14f0ddf6f9f768103a2d1ae5b542;hp=faba62f4cd82040d69cf05fb71018e39da4453fb;p=openstack-build%2Fceilometer-build.git Fixed running mongodb unit tests. Change-Id: I73acb3407560497cc0b3cf7cc2007e2d87d6b80c Rewritten-From: d3340dea586dc5307806eb1f003cd72b9317efb2 --- diff --git a/trusty/debian/rules b/trusty/debian/rules index 1d6cd3a..baaf59d 100755 --- a/trusty/debian/rules +++ b/trusty/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