From 065c0eaf4fd364fbd888e9c043a046937531daa5 Mon Sep 17 00:00:00 2001 From: gord chung Date: Thu, 27 Apr 2017 15:14:07 +0000 Subject: [PATCH] use redis as coordinator by default we use sql as coordinator but gnocchi has high locking requirements becuase of number of sacks which far exceeds default 100 connection limit of sql. switch to use redis as lock manager instead. Closes-Bug: #1681955 Change-Id: I9f7606c17535432743c3bdd0cda0e4200f03d328 --- run-func-tests.sh | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run-func-tests.sh b/run-func-tests.sh index 5f17ad84a..cf28931d5 100755 --- a/run-func-tests.sh +++ b/run-func-tests.sh @@ -45,7 +45,7 @@ for storage in ${GNOCCHI_TEST_STORAGE_DRIVERS}; do export GNOCCHI_SERVICE_TOKEN="" # Just make gabbi happy export GNOCCHI_AUTHORIZATION="basic YWRtaW46" # admin in base64 export OS_TEST_PATH=gnocchi/tests/functional_live - pifpaf -e GNOCCHI run gnocchi --indexer-url $INDEXER_URL --storage-url $STORAGE_URL -- ./tools/pretty_tox.sh $* + pifpaf -e GNOCCHI run gnocchi --indexer-url $INDEXER_URL --storage-url $STORAGE_URL --coordination-driver redis -- ./tools/pretty_tox.sh $* cleanup done diff --git a/setup.cfg b/setup.cfg index f49af9059..386d90f6f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -65,7 +65,7 @@ doc = Jinja2 reno>=1.6.2 test = - pifpaf>=0.25.0 + pifpaf>=1.0.1 gabbi>=1.30.0 coverage>=3.6 fixtures