From f8b8352acaada6f679555de2cd9e1c0c75a24b76 Mon Sep 17 00:00:00 2001 From: Yuli Shlosberg Date: Sun, 1 Oct 2017 21:03:05 +0300 Subject: SDC test rename and timeouts increase Rename healthCheck test to sanity test Change-Id: Id24e18ef7b22592d7315de2ef992d59199bd2d6a Issue-Id: SDC-424 Signed-off-by: Yuli Shlosberg --- test/csit/tests/sdc/healthCheck/__init__.robot | 2 -- test/csit/tests/sdc/healthCheck/test1.robot | 16 ---------------- test/csit/tests/sdc/sanity/__init__.robot | 2 ++ test/csit/tests/sdc/sanity/test1.robot | 16 ++++++++++++++++ 4 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 test/csit/tests/sdc/healthCheck/__init__.robot delete mode 100644 test/csit/tests/sdc/healthCheck/test1.robot create mode 100644 test/csit/tests/sdc/sanity/__init__.robot create mode 100644 test/csit/tests/sdc/sanity/test1.robot (limited to 'test/csit/tests/sdc') diff --git a/test/csit/tests/sdc/healthCheck/__init__.robot b/test/csit/tests/sdc/healthCheck/__init__.robot deleted file mode 100644 index 8ee10d5f6..000000000 --- a/test/csit/tests/sdc/healthCheck/__init__.robot +++ /dev/null @@ -1,2 +0,0 @@ -*** Settings *** -Documentation Sdc - HealthCheck diff --git a/test/csit/tests/sdc/healthCheck/test1.robot b/test/csit/tests/sdc/healthCheck/test1.robot deleted file mode 100644 index 6d4dc242d..000000000 --- a/test/csit/tests/sdc/healthCheck/test1.robot +++ /dev/null @@ -1,16 +0,0 @@ -*** Settings *** -Library Collections -Library OperatingSystem -Library RequestsLibrary -Library json - -*** Test Cases *** -Get Requests health check ok - [Tags] get - CreateSession sdc-be http://localhost:8080 - ${headers}= Create Dictionary Accept=application/json Content-Type=application/json - ${resp}= Get Request sdc-be /sdc2/rest/healthCheck headers=&{headers} - Should Be Equal As Strings ${resp.status_code} 200 - @{ITEMS}= Copy List ${resp.json()['componentsInfo']} - : FOR ${ELEMENT} IN @{ITEMS} - \ Log ${ELEMENT['healthCheckComponent']} ${ELEMENT['healthCheckStatus']} diff --git a/test/csit/tests/sdc/sanity/__init__.robot b/test/csit/tests/sdc/sanity/__init__.robot new file mode 100644 index 000000000..8ee10d5f6 --- /dev/null +++ b/test/csit/tests/sdc/sanity/__init__.robot @@ -0,0 +1,2 @@ +*** Settings *** +Documentation Sdc - HealthCheck diff --git a/test/csit/tests/sdc/sanity/test1.robot b/test/csit/tests/sdc/sanity/test1.robot new file mode 100644 index 000000000..6d4dc242d --- /dev/null +++ b/test/csit/tests/sdc/sanity/test1.robot @@ -0,0 +1,16 @@ +*** Settings *** +Library Collections +Library OperatingSystem +Library RequestsLibrary +Library json + +*** Test Cases *** +Get Requests health check ok + [Tags] get + CreateSession sdc-be http://localhost:8080 + ${headers}= Create Dictionary Accept=application/json Content-Type=application/json + ${resp}= Get Request sdc-be /sdc2/rest/healthCheck headers=&{headers} + Should Be Equal As Strings ${resp.status_code} 200 + @{ITEMS}= Copy List ${resp.json()['componentsInfo']} + : FOR ${ELEMENT} IN @{ITEMS} + \ Log ${ELEMENT['healthCheckComponent']} ${ELEMENT['healthCheckStatus']} -- cgit 1.2.3-korg