From 6f98a8d61c33a4fc3619f998eeea0075d51c739b Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 25 Jul 2016 21:31:46 -0300 Subject: [test] add rules to run perf test on docker with separate couchdb server container --- scripts/docker/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/docker/Makefile b/scripts/docker/Makefile index 6f30a341..6ad4cced 100644 --- a/scripts/docker/Makefile +++ b/scripts/docker/Makefile @@ -89,8 +89,15 @@ run-tox: # Performance tests and graphic generation # ############################################ -run-perf-test: - helper/run-test.sh perf +run-perf: + docker run -d --name couchdb couchdb + docker run -t -i \ + --memory="$(MEMORY)" \ + --env="SOLEDAD_REMOTE=$(SOLEDAD_REMOTE)" \ + --env="SOLEDAD_BRANCH=$(SOLEDAD_BRANCH)" \ + --link couchdb \ + $(IMAGE_NAME) \ + /usr/local/soledad/run-tox-perf.sh run-client-perf: @if [ -z "$(CONTAINER_ID_FILE)" ]; then \ -- cgit v1.2.3