Assert.assertTrue(this.localMessageStorageManager.getMessageCount(topic2, this.partition1) == 1);
final BlockingQueue<Message> queue1 = new ArrayBlockingQueue<Message>(10);
final BlockingQueue<Message> queue2 = new ArrayBlockingQueue<Message>(10);
final MessageRecoverer recoverer1 = this.createRecover(topic1, queue1);
final MessageRecoverer recoverer2 = this.createRecover(topic2, queue2);
this.localMessageStorageManager.recover(topic1, this.partition1, recoverer1);
// again,no problem
this.localMessageStorageManager.recover(topic1, this.partition1, recoverer1);
this.localMessageStorageManager.recover(topic1, this.partition2, recoverer1);