Enable functional testing

This commit uncomments the disablement of the functional test in
tox.ini and also overrides keystone_git_install_branch by pointing to
the SHA currently in openstack-ansible.  This is necessary as master of
keystone will not build using this role due to changes in upstream
keystone.  We can tackle that issue once we have more roles performing
functional testing.

Change-Id: Ia2323fd48c143798ea5fd2815c9b83586d16b0e6
Partial-Bug: #1553957
This commit is contained in:
Matt Thompson
2016-03-07 10:59:43 +00:00
parent 71dbfbf03e
commit 76d51771f9
2 changed files with 13 additions and 16 deletions

View File

@@ -220,6 +220,7 @@
keystone_galera_database: keystone keystone_galera_database: keystone
keystone_venv_tag: "testing" keystone_venv_tag: "testing"
keystone_developer_mode: true keystone_developer_mode: true
keystone_git_install_branch: a55128044f763f5cfe2fdc57c738eaca97636448
keystone_auth_admin_token: "SuperSecreteTestToken" keystone_auth_admin_token: "SuperSecreteTestToken"
keystone_auth_admin_password: "SuperSecretePassword" keystone_auth_admin_password: "SuperSecretePassword"
keystone_service_password: "secrete" keystone_service_password: "secrete"

28
tox.ini
View File

@@ -106,23 +106,19 @@ commands =
[testenv:functional] [testenv:functional]
commands = commands =
echo -e "\n *******************************************************\n" \ rm -rf {homedir}/.ansible
"**** Functional Testing is still to be implemented ****\n" \ git clone https://git.openstack.org/openstack/openstack-ansible-plugins \
"**** TODO: Write tests here ****\n" \ {homedir}/.ansible/plugins
"*******************************************************\n"
# rm -rf {homedir}/.ansible
# git clone https://git.openstack.org/openstack/openstack-ansible-plugins \
# {homedir}/.ansible/plugins
# This plugin makes the ansible-playbook output easier to read # This plugin makes the ansible-playbook output easier to read
# wget -O {homedir}/.ansible/plugins/callback/human_log.py \ wget -O {homedir}/.ansible/plugins/callback/human_log.py \
# https://gist.githubusercontent.com/cliffano/9868180/raw/f360f306b3c6d689734a6aa8773a00edf16a0054/human_log.py https://gist.githubusercontent.com/cliffano/9868180/raw/f360f306b3c6d689734a6aa8773a00edf16a0054/human_log.py
# ansible-galaxy install \ ansible-galaxy install \
# --role-file={toxinidir}/tests/ansible-role-requirements.yml \ --role-file={toxinidir}/tests/ansible-role-requirements.yml \
# --ignore-errors \ --ignore-errors \
# --force --force
# ansible-playbook -i {toxinidir}/tests/inventory \ ansible-playbook -i {toxinidir}/tests/inventory \
# -e "rolename={toxinidir}" \ -e "rolename={toxinidir}" \
# {toxinidir}/tests/test.yml {toxinidir}/tests/test.yml -vvvv
[testenv:linters] [testenv:linters]