aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java
diff options
context:
space:
mode:
authorNelson, Thomas (arthurdent3) <nelson24@att.com>2019-05-09 14:16:37 +0000
committerTschaen, Brendan <ctschaen@att.com>2019-05-13 14:34:05 -0400
commitd6e7b63cc580e7b3822be61fe92a493ad5e222a3 (patch)
tree5a055529781a2989585075e13426979464f5fb33 /src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java
parent9a8b8ae8d7c8d6931f99def68068f8936a8cc0b3 (diff)
Changes Listed below:
- Added build version API - Updated Keyspace active to use Properties setting - Update Libraries Netty,jbcrypt,Jackson Databind and log4j - Removed some irrelivant files - Updated some usint tests to ignore some tests(This will be updated soon) - Bugfixes - Missing Values, inform user. - Respond with proper error - Fix Locking Contention issue. - Add locking retry for atomic calls. Change-Id: Ie218dd92edb0c20e4a0efe33eeaaec84e5293c44 Issue-ID: MUSIC-393 Signed-off-by: Nelson, Thomas (arthurdent3) <nelson24@att.com>
Diffstat (limited to 'src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java')
-rw-r--r--src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java b/src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java
index 92c5d818..956a266d 100644
--- a/src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java
+++ b/src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java
@@ -350,12 +350,13 @@ public class TstRestMusicLockAPI {
}
@Test
+ @Ignore //deprecated function
public void test_deleteLock() throws Exception {
System.out.println("Testing delete lock");
createAndInsertIntoTable();
String lockRef = createLockReference();
-
+
Response response = lock.deleteLock(lockName, "1", "1",
"abc66ccc-d857-4e90-b1e5-df98a3d40ce6", authorization, appName);
System.out.println("Status: " + response.getStatus() + ". Entity " + response.getEntity());
@@ -363,6 +364,7 @@ public class TstRestMusicLockAPI {
}
@Test
+ @Ignore //deprecated function
public void test_deleteLock_wrongAuth() throws Exception {
System.out.println("Testing delete lock w/ wrong auth");
createAndInsertIntoTable();
@@ -376,6 +378,7 @@ public class TstRestMusicLockAPI {
}
@Test
+ @Ignore //deprecated function
public void test_deleteLock_malformedLock() throws Exception {
System.out.println("Testing delete lock w/ malformed lock");
createAndInsertIntoTable();