diff options
author | Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> | 2020-11-25 16:30:48 +0200 |
---|---|---|
committer | Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> | 2020-12-01 11:03:35 +0200 |
commit | 6a19ed180fc5492449aa31802b5739e68390d954 (patch) | |
tree | 2f22934720bcaa2c8a79ef38089fb29223d6d9cd /tests/sdnc | |
parent | a94201cdbbe0c1ceb2fa0e676a61627e4bc7b657 (diff) |
Align SDNC healthcheck CSIT to master
- update the tested docker image versions
- remove test cases referring to obsoleted VNF-API
- remove references to obsoleted admportal image
- reduce timeouts significantly
- improve readiness checks
- fail the suite on any setup failures
Issue-ID: CCSDK-2915
Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>
Change-Id: I8ff49054d5895bf19eb35729e5c1db7919c22f81
Diffstat (limited to 'tests/sdnc')
-rw-r--r-- | tests/sdnc/healthcheck/test1.robot | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/sdnc/healthcheck/test1.robot b/tests/sdnc/healthcheck/test1.robot index c002a189..3648a8e4 100644 --- a/tests/sdnc/healthcheck/test1.robot +++ b/tests/sdnc/healthcheck/test1.robot @@ -8,7 +8,6 @@ Library String *** Variables *** ${SDN_APIDOCS_URI} /apidoc/apis ${SDN_HEALTHCHECK_OPERATION_PATH} /operations/SLI-API:healthcheck -${PRELOAD_VNF_TOPOLOGY_OPERATION_PATH} /operations/VNF-API:preload-vnf-topology-operation *** Test Cases *** @@ -26,19 +25,3 @@ Check SLI-API ${resp}= Get Request sdnc ${SDN_APIDOCS_URI} headers=${headers} Log ${resp.text} Should Contain ${resp.text} SLI-API - -Check VNF-API - Create Session sdnc http://localhost:8282 - &{headers}= Create Dictionary Authorization=Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ== Content-Type=application/json Accept=application/json - ${resp}= Get Request sdnc ${SDN_APIDOCS_URI} headers=${headers} - Log ${resp.text} - Should Contain ${resp.text} VNF-API - -Test Preload - Create Session sdnc http://localhost:8282/restconf - ${data}= Get File ${CURDIR}${/}data${/}preload.json - &{headers}= Create Dictionary Authorization=Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ== Content-Type=application/json Accept=application/json - ${resp}= Post Request sdnc ${PRELOAD_VNF_TOPOLOGY_OPERATION_PATH} data=${data} headers=${headers} - Log ${resp.text} - Should Be Equal As Strings ${resp.status_code} 200 - Should Be Equal As Strings ${resp.json()['output']['response-code']} 200 |