From 19f93f84f6965d364f77edaf6e284f3c461097c4 Mon Sep 17 00:00:00 2001 From: Smana Date: Sat, 13 Feb 2016 15:48:18 +0100 Subject: [PATCH] fix testcases --- .travis.yml | 2 +- tests/scripts/ansibl8s_test.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b06e14921..80004cf86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -128,7 +128,7 @@ script: ## Create a POD - $HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/020_check-create-pod.yml $LOG_LEVEL ## Ping the between 2 pod - - $HOME/.local/bin/ansible-playbook -i setup-kubernetes/inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/030_check-network.yml $LOG_LEVEL + - $HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/030_check-network.yml $LOG_LEVEL after_script: - > diff --git a/tests/scripts/ansibl8s_test.sh b/tests/scripts/ansibl8s_test.sh index 53f8f2d7d..1f0c889df 100644 --- a/tests/scripts/ansibl8s_test.sh +++ b/tests/scripts/ansibl8s_test.sh @@ -34,19 +34,19 @@ should_deploy_cluster() { } should_api_server_respond() { - ansible-playbook -i inventory.ini ${private_key} testcases/check-apiserver.yml + ansible-playbook -i inventory.ini ${private_key} testcases/010_check-apiserver.yml assertion__status_code_is_success $? } should_create_pod() { - ansible-playbook -i inventory.ini -s ${private_key} testcases/check-create-pod.yml -vv + ansible-playbook -i inventory.ini -s ${private_key} testcases/020_check-create-pod.yml -vv assertion__status_code_is_success $? } should_pod_be_in_expected_subnet() { - ansible-playbook -i inventory.ini -s ${private_key} testcases/check-network.yml -vv + ansible-playbook -i inventory.ini -s ${private_key} testcases/030_check-network.yml -vv assertion__status_code_is_success $? }