HDDS-512. update test.sh to remove robot framework & python-pip installation. Contributed by Dinesh Chitlangia.

This commit is contained in:
Márton Elek 2018-10-05 12:37:01 +02:00
parent f362037527
commit 0e28ef35be
1 changed files with 2 additions and 3 deletions

View File

@ -24,9 +24,8 @@ execute_tests(){
echo "Executing test ${TESTS[*]} with $COMPOSE_FILE"
docker-compose -f "$COMPOSE_FILE" down
docker-compose -f "$COMPOSE_FILE" up -d
docker-compose -f "$COMPOSE_FILE" exec datanode sudo apt-get update
docker-compose -f "$COMPOSE_FILE" exec datanode sudo apt-get install -y python-pip
docker-compose -f "$COMPOSE_FILE" exec datanode sudo pip install robotframework
echo "Waiting 15s for cluster start up..."
sleep 15
for TEST in "${TESTS[@]}"; do
set +e
docker-compose -f "$COMPOSE_FILE" exec datanode python -m robot "smoketest/$TEST"