hornetq/hornetq — pull request #835 by gaohoward (2013-02-06 15:06:02+00:00)
Title: fix occasional test failure

blockOnAcknowledge should be true to avoid unacked messages being resent after live server crashes.

Default this attribute is false. Meaning it's possible when server crashes the messages haven't been acknowledged on server. So after fail over those unacked messages are re-delivered to client, making the test (like testReplicationDuringSync) fail.