Skip to content

Commit d6f7e56

Browse files
committed
More test fixes.
1 parent 3a09a68 commit d6f7e56

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/test/java/ca/thoughtwire/lock/HazelcastReentrantReadWriteLockTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public static void createGrids() {
4545
@Test
4646
public void lockingUnlockedSucceeds()
4747
{
48-
System.out.println("lockingUnlockSucceeds");
4948
final PublicDistributedReentrantReadWriteLock lock =
5049
(PublicDistributedReentrantReadWriteLock)lockService1.getReentrantReadWriteLock("testLock");
5150
assertNotWriteLocked(lock);
@@ -74,7 +73,6 @@ public void lockingUnlockedSucceeds()
7473
@Test
7574
public void testWriteLockInterruptibly_Interruptible()
7675
{
77-
System.out.println("testWriteLockInterruptibly_Interruptible");
7876
final PublicDistributedReentrantReadWriteLock lock =
7977
(PublicDistributedReentrantReadWriteLock)lockService1.getReentrantReadWriteLock("testLock");
8078

@@ -98,7 +96,6 @@ public void realRun() throws InterruptedException {
9896
@Test
9997
public void testReadLockInterruptibly_Interruptible()
10098
{
101-
System.out.println("testReadLockInterruptibly_Interruptible");
10299
final PublicDistributedReentrantReadWriteLock lock =
103100
(PublicDistributedReentrantReadWriteLock)lockService1.getReentrantReadWriteLock("testLock");
104101

@@ -121,7 +118,6 @@ public void realRun() throws InterruptedException {
121118
@Test
122119
public void testTryReadLock_Interruptible()
123120
{
124-
System.out.println("testTryReadLock_Interruptible");
125121
final PublicDistributedReentrantReadWriteLock lock =
126122
(PublicDistributedReentrantReadWriteLock)lockService1.getReentrantReadWriteLock("testLock");
127123

@@ -144,7 +140,6 @@ public void realRun() throws InterruptedException {
144140
@Test
145141
public void testTryWriteLock_Interruptible()
146142
{
147-
System.out.println("testTryWriteLock_Interruptible");
148143
final PublicDistributedReentrantReadWriteLock lock =
149144
(PublicDistributedReentrantReadWriteLock)lockService1.getReentrantReadWriteLock("testLock");
150145

@@ -167,7 +162,6 @@ public void realRun() throws InterruptedException {
167162
@Test (expected = IllegalMonitorStateException.class)
168163
public void testWriteLock_MSIE()
169164
{
170-
System.out.println("testWriteLock_MSIE");
171165
final PublicDistributedReentrantReadWriteLock lock =
172166
(PublicDistributedReentrantReadWriteLock)lockService1.getReentrantReadWriteLock("testLock");
173167
assertNotWriteLocked(lock);

0 commit comments

Comments
 (0)