diff options
author | demskeq8 <alexander.dehn@highstreet-technologies.com> | 2023-09-04 17:59:57 +0200 |
---|---|---|
committer | demskeq8 <alexander.dehn@highstreet-technologies.com> | 2023-09-08 13:17:12 +0200 |
commit | 5f9f3ccf917d91e2af7f29a467a451d6274912a7 (patch) | |
tree | 317766a771fa6e74dc549cdbce7c7affa97586d7 /csit/plans/sdnr | |
parent | 8fc94e40c76df15d369300ba70267ab1f844f3c1 (diff) |
[CSIT] update SDNR tests for mariaDB based sdnrdb
update SDNC test image
deploy sdnc-web-image for sdnr test setup
add healthcheck
add basic odlux tests
Issue-ID: SDNC-1820
Change-Id: Ib89d097f301bfe4803bf3006549bee9a78fb6c19
Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com>
Diffstat (limited to 'csit/plans/sdnr')
-rwxr-xr-x | csit/plans/sdnr/setup.sh | 8 | ||||
-rw-r--r-- | csit/plans/sdnr/testdata/localhost.py | 14 | ||||
-rw-r--r-- | csit/plans/sdnr/testplan.txt | 3 |
3 files changed, 15 insertions, 10 deletions
diff --git a/csit/plans/sdnr/setup.sh b/csit/plans/sdnr/setup.sh index 8de39cda..94e367be 100755 --- a/csit/plans/sdnr/setup.sh +++ b/csit/plans/sdnr/setup.sh @@ -34,7 +34,7 @@ echo "Start plan sdnr" source ${WORKSPACE}/scripts/sdnr/sdnr-launch.sh onap_dependent_components_launch nts_networkfunctions_launch ${WORKSPACE}/plans/sdnr/testdata/nts-networkfunctions.csv -sdnr_launch +sdnr_web_launch ## environment for SDNC/R specific robot test runs ## Ready state will be checked every SDNC_READY_RETRY_PERIOD seconds @@ -46,6 +46,8 @@ sdnr_launch #SDNC_RELEASE_WITHOUT_ROBOT=true #Pass any variables required by Robot test suites in ROBOT_VARIABLES -ROBOT_VARIABLES="--variablefile=${WORKSPACE}/plans/sdnr/testdata/localhost.py" -ROBOT_IMAGE="hightec/sdnc-test-lib:v0.11.0" +ROBOT_DEBUG_LEVEL=DEBUG # INFO or DEBUG + +ROBOT_VARIABLES="--variablefile=${WORKSPACE}/plans/sdnr/testdata/localhost.py -L ${ROBOT_DEBUG_LEVEL}" +ROBOT_IMAGE="hightec/sdnc-test-lib:v0.12.0" diff --git a/csit/plans/sdnr/testdata/localhost.py b/csit/plans/sdnr/testdata/localhost.py index c74d3f1a..5e0d4a79 100644 --- a/csit/plans/sdnr/testdata/localhost.py +++ b/csit/plans/sdnr/testdata/localhost.py @@ -8,20 +8,22 @@ ## Access SDNR cluster SDNR_PROTOCOL = "http://" SDNR_HOST = "127.0.0.1" -SDNR_PORT = "8181" +SDNR_PORT = "8282" SDNR_USER = "admin" #SDNR_PASSWORD = "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" SDNR_PASSWORD = "admin" WEBSOCKET_PORT = "8182" +RELEASE_VERSION="argon" # expected opendaylight version + # for odlux gui testing WEBDRIVER_PATH = "/usr/local/bin/chromedriver" -# Access to elastic search SDNRDB -SDNRDB = {'PROTOCOL': 'http', 'IP': '127.0.0.1', 'PORT': '8181', 'USE_API_GATEWAY': True, 'USE_SSL': False, - 'VERIFY_CERTS': False} -# elastic DB to store statistic datas -ELASTIC_LOG_DB = SDNRDB +# sdnrdb is based on mariaDB + +USE_MARIA_DB=True +MARIADB = {'IP': SDNR_HOST, 'PORT': 3306} + RESTCONF_TIMEOUT = '90 s' # Restconf response time longer than VALID_RESPONSE_TIME in s will be notified as warning in the robot logs VALID_RESPONSE_TIME = 5 diff --git a/csit/plans/sdnr/testplan.txt b/csit/plans/sdnr/testplan.txt index c8c1d4dc..4c07c7fb 100644 --- a/csit/plans/sdnr/testplan.txt +++ b/csit/plans/sdnr/testplan.txt @@ -4,5 +4,6 @@ ## To skip sdnr robot test suite ## set in .setup.sh SDNC_RELEASE_WITHOUT_ROBOT=true -# sdnr/healthcheck +sdnr/healthcheck sdnr/functional +sdnr/odlux |