aboutsummaryrefslogtreecommitdiffstats
path: root/smoke-usecases-pythonsdk/README.md
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-11-10 14:31:14 +0100
committermrichomme <morgan.richomme@orange.com>2020-11-10 15:54:08 +0100
commit9e626d69b71d27daee985ba140730b367b0f71c7 (patch)
treefe074e0302d0d50e15356615fe0753c4e463bec8 /smoke-usecases-pythonsdk/README.md
parentf5504c0ca997c11d2a96fbae70a4dbe146fbe398 (diff)
Fix README
- " missing - latest referenced instead of latest - detail interactive mode - precise how to run only a subset of the tests Issue-ID: TEST-274 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Id28ea0a4602a903eb4ff28bb7671737fa7d58b50 Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'smoke-usecases-pythonsdk/README.md')
-rw-r--r--smoke-usecases-pythonsdk/README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/smoke-usecases-pythonsdk/README.md b/smoke-usecases-pythonsdk/README.md
index d21f5d2..d0da26c 100644
--- a/smoke-usecases-pythonsdk/README.md
+++ b/smoke-usecases-pythonsdk/README.md
@@ -221,7 +221,7 @@ docker run
--add-host="sdc.workflow.plugin.simpledemo.onap.org:<your ONAP IP>"
--add-host="sdc.dcae.plugin.simpledemo.onap.org:<your ONAP IP>"
--add-host="msb.api.simpledemo.onap.org:<your ONAP IP>"
-nexus3.onap.org:10003/onap/xtesting-smoke-usecases-pythonsdk:latest /bin/sh -c "run_tests -t basic_vm"
+nexus3.onap.org:10003/onap/xtesting-smoke-usecases-pythonsdk:master /bin/sh -c "run_tests -t basic_vm"
```
Unkike the other xtesting docker, 1 docker = 1 use case, the target -t all is
@@ -234,12 +234,15 @@ docker run -it
-v <your local env>:/var/lib/xtesting/conf/env_file
-v <cloud.yaml file corresponding to your VNF tenant>/root/.config/openstack.yaml
-v <kube config file corresponding to your k8s cluster>/root/.kube/config
--v <service definition yaml matching your environment>:/usr/lib/python3.8/site-packages/onaptests/templates/vnf-services/ubuntu16test-service.yaml
-v <result directory>:/var/lib/xtesting/results
-nexus3.onap.org:10003/onap/xtesting-smoke-usecases-pythonsdk:latest sh
+nexus3.onap.org:10003/onap/xtesting-smoke-usecases-pythonsdk:master sh
```
Inside the docker you can edit the /etc/hosts and indicate the different hosts).
+You can also edit the configuration file
+/usr/lib/python3.8/site-packages/onaptests/templates/vnf-services/ubuntu16test-service.yaml.
+You can also edit the tester and test settings in
+/usr/lib/python3.8/site-packages/onaptests.
Then you can run the test with the following command:
```