fix the inconsistency with ElectingLevelDBStore.isMaster() under AMQ-5082 unit test conditions

This commit is contained in:
James A. Robinson 2015-03-31 19:51:15 -07:00 committed by Christian Posta
parent 3d6bb7c392
commit a6243225c5
1 changed files with 1 additions and 0 deletions

View File

@ -228,6 +228,7 @@ class ElectingLevelDBStore extends ProxyLevelDBStore {
master_started.set(true) master_started.set(true)
master.blocking_executor.execute(^{ master.blocking_executor.execute(^{
master.start(); master.start();
master_stopped.set(false)
master_started_latch.countDown() master_started_latch.countDown()
}) })
master.blocking_executor.execute(^{ master.blocking_executor.execute(^{