CURATOR-490 testReentrantSingleLock() should not be run for 
TestInterProcessSemaphoreMutex as InterProcessSemaphoreMutex is not re-entrant


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/b94844af
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/b94844af
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/b94844af

Branch: refs/heads/CURATOR-490
Commit: b94844af500054dc6aa1b342e2ea3665de5f232f
Parents: 1731834
Author: randgalt <randg...@apache.org>
Authored: Sun Dec 9 12:28:32 2018 -0500
Committer: randgalt <randg...@apache.org>
Committed: Sun Dec 9 12:28:32 2018 -0500

----------------------------------------------------------------------
 .../recipes/locks/TestInterProcessSemaphoreMutex.java     | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/b94844af/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreMutex.java
----------------------------------------------------------------------
diff --git 
a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreMutex.java
 
b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreMutex.java
index cd8b83e..90bd7da 100644
--- 
a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreMutex.java
+++ 
b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreMutex.java
@@ -27,13 +27,19 @@ public class TestInterProcessSemaphoreMutex extends 
TestInterProcessMutexBase
 
     @Override
     @Test(enabled = false)
-    public void testReentrant() throws Exception
+    public void testReentrant()
     {
     }
 
     @Override
     @Test(enabled = false)
-    public void testReentrant2Threads() throws Exception
+    public void testReentrant2Threads()
+    {
+    }
+
+    @Override
+    @Test(enabled = false)
+    public void testReentrantSingleLock()
     {
     }
 

Reply via email to