summaryrefslogtreecommitdiffstats
path: root/docker/healthcheck
diff options
context:
space:
mode:
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