diff options
author | PatrikBuhr <patrik.buhr@est.tech> | 2022-02-10 11:17:34 +0100 |
---|---|---|
committer | PatrikBuhr <patrik.buhr@est.tech> | 2022-02-10 11:17:34 +0100 |
commit | 31639ac11cc90c554b5303199c2da6fedc008d7b (patch) | |
tree | 74789e9eb57c472ae4c39eed76b70b503218ff75 /a1-policy-management/src/test | |
parent | 82a6252d3d3008c1ee568b1eb85de0701600918d (diff) |
NONRTRIC Improved traces
Improved traces
Issue-ID: CCSDK-3560
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Change-Id: I1ef76b859e24f4ea503c8e28e503528c98de4342
Diffstat (limited to 'a1-policy-management/src/test')
-rw-r--r-- | a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/LockTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/LockTest.java b/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/LockTest.java index 79879446..3ea0fe53 100644 --- a/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/LockTest.java +++ b/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/LockTest.java @@ -65,7 +65,7 @@ class LockTest { @Test void testLock() throws IOException, ServiceException { - Lock lock = new Lock(); + Lock lock = new Lock("l1"); Lock.Grant grant = lock.lockBlocking(LockType.SHARED, "test"); grant.unlockBlocking(); assertThat(grant.getLabel()).isEqualTo("test"); @@ -81,7 +81,7 @@ class LockTest { @Test void testReactiveLock() { - Lock lock = new Lock(); + Lock lock = new Lock("l1"); Mono<?> l0 = lock.lock(LockType.EXCLUSIVE, "1").doOnNext(grant -> asynchUnlock(grant, lock)); Mono<?> l1 = lock.lock(LockType.SHARED, "2").doOnNext(grant -> asynchUnlock(grant, lock)); |