HDDS-512. update test.sh to remove robot framework & python-pip installation. Contributed by Dinesh Chitlangia.
This commit is contained in:
parent
f362037527
commit
0e28ef35be
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue