diff options
author | Tschaen, Brendan <ctschaen@att.com> | 2019-06-01 21:26:25 -0400 |
---|---|---|
committer | Tschaen, Brendan <ctschaen@att.com> | 2019-06-01 21:26:25 -0400 |
commit | fdf19711e482e5c22f3d6fdb18e0bc052ec37e4e (patch) | |
tree | c856a1d5c58bade7f5cd21b8915c766a5f3c8a30 /src/main | |
parent | 641255c612fae09ff8840124eb7dcf5046083dd0 (diff) |
Update unit tests for holders api
Change-Id: Ib4d6ce287cdacc2c0aad36c2936075087a9e6f49
Issue-ID: MUSIC-405
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/music/service/impl/MusicCassaCore.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/music/service/impl/MusicCassaCore.java b/src/main/java/org/onap/music/service/impl/MusicCassaCore.java index cf6f5ed3..cebdc667 100644 --- a/src/main/java/org/onap/music/service/impl/MusicCassaCore.java +++ b/src/main/java/org/onap/music/service/impl/MusicCassaCore.java @@ -286,7 +286,7 @@ public class MusicCassaCore implements MusicCoreService { try { LockObject lockOwner = getLockingServiceHandle().peekLockQueue(keyspace, table, primaryKeyValue); if (!lockOwner.getIsLockOwner()) { - return "No lock holder!"; + return null; } return "$" + fullyQualifiedKey + "$" + lockOwner.getLockRef(); } catch (MusicLockingException | MusicServiceException | MusicQueryException e) { |