summaryrefslogtreecommitdiffstats
path: root/feature-distributed-locking/src
diff options
context:
space:
mode:
Diffstat (limited to 'feature-distributed-locking/src')
-rw-r--r--feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java b/feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java
index 48152715..0c0dbf11 100644
--- a/feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java
+++ b/feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java
@@ -258,7 +258,8 @@ public class DistributedLockManagerTest {
}
};
- assertThatThrownBy(() -> feature.beforeCreateLockManager(engine, new Properties()))
+ Properties props = new Properties();
+ assertThatThrownBy(() -> feature.beforeCreateLockManager(engine, props))
.isInstanceOf(DistributedLockManagerException.class);
}