summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Balasubramanian <bharathb@research.att.com>2019-02-13 13:46:38 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-13 13:46:38 +0000
commit66ee14082f52e7a12940f9b54db406e1ed268e19 (patch)
tree75427da59e97d0aa3f25fb17160a947322bb2a59
parent5f2daee789950376b57bd21d04a74260184608b0 (diff)
parentf24ef5254416d6d7dc1bf707cd6a9867466bfd13 (diff)
Merge "Added unit test case"
-rw-r--r--src/test/java/org/onap/music/unittests/TestRestAdminData.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/org/onap/music/unittests/TestRestAdminData.java b/src/test/java/org/onap/music/unittests/TestRestAdminData.java
index 0471d6f0..2708b64b 100644
--- a/src/test/java/org/onap/music/unittests/TestRestAdminData.java
+++ b/src/test/java/org/onap/music/unittests/TestRestAdminData.java
@@ -2568,4 +2568,12 @@ public class TestRestAdminData {
appName, authorization, keyspaceName, tableNameConditional, json);
assertEquals(401, response.getStatus());
}
+ @Test
+ public void Test8_HealthCheck_cassandra_musicHealthCheck() {
+ RestMusicHealthCheckAPI healthCheck = new RestMusicHealthCheckAPI();
+ Response response = healthCheck.musicHealthCheck();
+ assertEquals(200, response.getStatus());
+ }
+
+
} \ No newline at end of file