Merge 020_check and 030_check (#4623)

* Merge 020_check and 030_check

* Fix pods output and fail if test pods is not ready
This commit is contained in:
Maxime Guyot
2019-04-24 01:12:00 +02:00
committed by Kubernetes Prow Robot
parent 76db060afb
commit 6df8111cd4
3 changed files with 16 additions and 35 deletions

View File

@@ -32,10 +32,7 @@ ansible-playbook -i ${ANSIBLE_INVENTORY} -e ansible_python_interpreter=${PYPATH}
## Test that all pods are Running
ansible-playbook -i ${ANSIBLE_INVENTORY} -e ansible_python_interpreter=${PYPATH} -u $SSH_USER -e ansible_ssh_user=$SSH_USER -b --become-user=root --limit "all:!fake_hosts" tests/testcases/015_check-pods-running.yml $LOG_LEVEL
## Test pod creation
ansible-playbook -i ${ANSIBLE_INVENTORY} -e ansible_python_interpreter=${PYPATH} -u $SSH_USER -e ansible_ssh_user=$SSH_USER -b --become-user=root --limit "all:!fake_hosts" tests/testcases/020_check-create-pod.yml $LOG_LEVEL
## Ping the between 2 pod
## Test pod creation and ping between them
ansible-playbook -i ${ANSIBLE_INVENTORY} -e ansible_python_interpreter=${PYPATH} -u $SSH_USER -e ansible_ssh_user=$SSH_USER -b --become-user=root --limit "all:!fake_hosts" tests/testcases/030_check-network.yml $LOG_LEVEL
## Advanced DNS checks