aboutsummaryrefslogtreecommitdiffstats
path: root/docker/healthcheck
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-06-25 07:17:17 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-06-25 07:46:34 +0200
commit6d2a01691e400f86f3bc55a279d93b8758195ed3 (patch)
tree2841be797dc8720df23c4ba493539f7e24854f9d /docker/healthcheck
parent0503756fa4584e82081fb44b9133d2564d77105b (diff)
Move odl into healthcheck
It should be included in healthcheck as all basic tests. Change-Id: I48439fe6385a9056eed8b779290f20633d59b0fd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/healthcheck')
-rw-r--r--docker/healthcheck/Dockerfile6
-rw-r--r--docker/healthcheck/testcases.yaml20
2 files changed, 26 insertions, 0 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile
index 433f8737d..81cb7f141 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -1,4 +1,10 @@
FROM opnfv/functest-core
+ARG ODL_TAG=85448c9d97b89989488e675b29b38ac42d8674e4
+
+RUN git clone https://git.opendaylight.org/gerrit/p/integration/test.git /src/odl_test && \
+ (cd /src/odl_test && git checkout $ODL_TAG) && \
+ rm -r /src/odl_test/.git
+
COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
CMD ["run_tests", "-t", "all"]
diff --git a/docker/healthcheck/testcases.yaml b/docker/healthcheck/testcases.yaml
index 9e9b68b44..dd26e7695 100644
--- a/docker/healthcheck/testcases.yaml
+++ b/docker/healthcheck/testcases.yaml
@@ -171,6 +171,26 @@ tiers:
class: 'CinderCheck'
-
+ case_name: odl
+ project_name: functest
+ criteria: 100
+ blocking: true
+ description: >-
+ Test Suite for the OpenDaylight SDN Controller. It
+ integrates some test suites from upstream using
+ Robot as the test framework.
+ dependencies:
+ installer: ''
+ scenario: 'odl'
+ run:
+ module: 'functest.opnfv_tests.sdn.odl.odl'
+ class: 'ODLTests'
+ args:
+ suites:
+ - /src/odl_test/csit/suites/integration/basic
+ - /src/odl_test/csit/suites/openstack/neutron
+
+ -
case_name: api_check
project_name: functest
criteria: 100