Dedeepya-T commented on a change in pull request #77:
URL: https://github.com/apache/qpid-broker-j/pull/77#discussion_r563537114



##########
File path: 
bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/replication/ReplicatedEnvironmentFacadeTest.java
##########
@@ -284,10 +285,27 @@ public void testSetMessageStoreDurability() throws 
Exception
         assertFalse("Coalescing sync committer is still running", 
master.isCoalescingSync());
     }
 
+    @Test
+    public void testSetMessageStoreDurabilityWithDisabledCoalescingSync() 
throws Exception
+    {
+        ReplicatedEnvironmentFacade master = createMaster(true);
+        assertEquals("Unexpected message store durability",
+                     new Durability(Durability.SyncPolicy.SYNC, 
Durability.SyncPolicy.NO_SYNC, Durability.ReplicaAckPolicy.SIMPLE_MAJORITY),
+                     master.getRealMessageStoreDurability());
+        assertEquals("Unexpected durability", TEST_DURABILITY, 
master.getMessageStoreDurability());

Review comment:
       Removed the duplicate!




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to