diff options
author | Ruan HE <ruan.he@orange.com> | 2018-01-11 17:31:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-11 17:31:15 +0000 |
commit | df9333a89b3d38a5421bc86fae4e0bba9280b21b (patch) | |
tree | f53603a697a8b94d767933449a546cacbbaab4f3 /tests/functional/README.md | |
parent | 626dc28a44b92a2bfe6473bf0b595dfee71e4d61 (diff) | |
parent | 1788b170db073ac68b2ca3545ec54dc779686b46 (diff) |
Merge "restructure tests"
Diffstat (limited to 'tests/functional/README.md')
-rw-r--r-- | tests/functional/README.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/functional/README.md b/tests/functional/README.md new file mode 100644 index 00000000..4cac22b6 --- /dev/null +++ b/tests/functional/README.md @@ -0,0 +1,27 @@ +# Moon Functional Test + +[Test Platform Setup](../../tools/moon_kubernetes/README.md) + + +### Pod Functional Test +Launch functional [test scenario](tests/functional/scenario_enabled) : +```bash +sudo pip install python_moonclient --upgrade +cd $MOON_HOME/tests/functional/scenario_tests +moon_create_pdp --consul-host=$MOON_HOST --consul-port=30005 -v rbac_large.py +moon_get_keystone_project --consul-host=$MOON_HOST --consul-port=30005 +moon_get_pdp --consul-host=$MOON_HOST --consul-port=30005 +moon_map_pdp_to_project "<pdp_id>" "<keystone_project_id>" +moon_send_authz_to_wrapper --consul-host=$MOON_HOST --consul-port=30005 --authz-host=$WRAPPER_HOST --authz-port=$WRAPPER_PORT -v rbac_large.py +``` + +To retrieve the wrapper information, use the following command: +```bash +kubectl get -n moon services | grep wrapper +``` + +Launch functional tests: +```bash +cd $MOON_HOME +sudo bash $TARGET_MODULE/tests/functional_pod/run_functional_tests.sh +``` |