summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2015-05-13Add functional tests to toxJeff Peeler4-2/+140
This adds functional tests to tox, along with a number of prerequisite steps. Since this is primarily a bash project, pbr usage has been avoided. Tests are to be written in python and put in the tests directory. Running tox -e setupenv will execute a setup script (tests/setup_docker.sh) to ensure the running instance of docker meets the minimum version requirement. Running tox -e images will execute the image building script (tools/build-all-docker-images) and will parse the resulting output to report failures. Running tox -e startenv will generate the environment file, run "tools/kolla start", and run first time initialization (eventually). Running tox -e functional is for actually testing the deployed OpenStack environment via a series of tests utilizing the client APIs. Change-Id: Iff6dfdca43f0c44d471e7540a7836e56a0de4507
2015-05-08Fix setup script misspelling and pkill flagJeff Peeler1-7/+30
pkill -9 docker was killing setup_docker.sh execution, so add -x flag. Added check for root permissions and host type. Added executing user to docker group. Change-Id: I82cfad64fa737666d888e2ab9350c8d42e2150bf
2015-05-05Add setup Docker scriptChen Zhiwei1-0/+47
This script will setup Docker environment for Kolla functional test. This script will not affect the users exist Docker environment, only added a new Docker binary to /usr/local/bin directory. Change-Id: I9669461df198d9192e220b51cba1e034040d7ed3