Use VT_TEST_FLAGS and stop on error in queryservice_test.

This commit is contained in:
Anthony Yeh 2014-09-08 15:09:42 -07:00
Родитель 7c470a9405
Коммит 6f3231a431
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -32,11 +32,11 @@ unit_test_race:
queryservice_test:
echo $$(date): Running test/queryservice_test.py...
if [ -e "/usr/bin/memcached" ]; then \
time test/queryservice_test.py -m -e vtocc; \
time test/queryservice_test.py -m -e vttablet; \
time test/queryservice_test.py -m -e vtocc $$VT_TEST_FLAGS || exit 1 ; \
time test/queryservice_test.py -m -e vttablet $$VT_TEST_FLAGS || exit 1 ; \
else \
time test/queryservice_test.py -e vtocc; \
time test/queryservice_test.py -e vttablet; \
time test/queryservice_test.py -e vtocc $$VT_TEST_FLAGS || exit 1 ; \
time test/queryservice_test.py -e vttablet $$VT_TEST_FLAGS || exit 1 ; \
fi
#export VT_TEST_FLAGS=-v for instance