verifyOuterListEntry(shard, 1);
- verifyLastApplied(shard, 5);
+ verifyLastApplied(shard, 6);
}
@Test
// Committed transaction count should increase as usual
assertEquals(1, shardStats.getCommittedTransactionsCount());
- // Commit index should advance as we do not have an empty
- // modification
- assertEquals(1, shardStats.getCommitIndex());
+ // Commit index should advance 2 to account for disabling metadata
+ assertEquals(2, shardStats.getCommitIndex());
}
@Test