From a6243225c5be2f8eaa7121e9616315e1b5661483 Mon Sep 17 00:00:00 2001 From: "James A. Robinson" Date: Tue, 31 Mar 2015 19:51:15 -0700 Subject: [PATCH] fix the inconsistency with ElectingLevelDBStore.isMaster() under AMQ-5082 unit test conditions --- .../activemq/leveldb/replicated/ElectingLevelDBStore.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/replicated/ElectingLevelDBStore.scala b/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/replicated/ElectingLevelDBStore.scala index 331d06b849..a47baabe1f 100644 --- a/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/replicated/ElectingLevelDBStore.scala +++ b/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/replicated/ElectingLevelDBStore.scala @@ -228,6 +228,7 @@ class ElectingLevelDBStore extends ProxyLevelDBStore { master_started.set(true) master.blocking_executor.execute(^{ master.start(); + master_stopped.set(false) master_started_latch.countDown() }) master.blocking_executor.execute(^{