Author: clebert.suconic(a)jboss.com
Date: 2011-02-09 20:02:38 -0500 (Wed, 09 Feb 2011)
New Revision: 10194
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java
Log:
tweak to fix tests
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java 2011-02-09
15:34:49 UTC (rev 10193)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java 2011-02-10
01:02:38 UTC (rev 10194)
@@ -215,7 +215,10 @@
public void pauseLiveServer() throws Exception
{
setPaused();
- liveLock.release();
+ if (liveLock != null)
+ {
+ liveLock.release();
+ }
}
public void crashLiveServer() throws Exception
Show replies by date