Skip to content
Snippets Groups Projects
Commit f159a251 authored by Pawel Maniora's avatar Pawel Maniora
Browse files

full sync tavern tests

parent 1bd8991c
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!293full sync tavern tests
......@@ -5,6 +5,8 @@ pip3 install tox --user
export HIVEMIND_ADDRESS=$1
export HIVEMIND_PORT=$2
export TAVERN_DIR="tests/tests_api/hivemind/tavern"
echo Attempting to start tests on hivemind instance listeing on: $HIVEMIND_ADDRESS port: $HIVEMIND_PORT
echo "Selected test group (if empty all will be executed): $3"
......
#!/bin/bash
# script to run tavern tests for full sync hivemind node
export TAVERN_DIR="tests/tests_api/hivemind/tavern_full_sync"
SCRIPT=$(readlink -f "$0")
$(dirname "$SCRIPT")/run_tests.sh "$@"
......@@ -63,7 +63,10 @@ pip3 install tox --user
export HIVEMIND_ADDRESS=$1
export HIVEMIND_PORT=$2
if [ -z "$TAVERN_DIR" ]
then
export TAVERN_DIR="tests/tests_api/hivemind/tavern"
fi
echo "Attempting to start tests on hivemind instance listening on: $HIVEMIND_ADDRESS port: $HIVEMIND_PORT"
echo "Additional test options: ${@:3}"
......
......@@ -9,7 +9,7 @@ passenv =
HIVEMIND_ADDRESS
HIVEMIND_PORT
changedir = tests/tests_api/hivemind/tavern
changedir = {env:TAVERN_DIR}
deps =
pytest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment