mirror of https://github.com/apache/cassandra
ninja - fix MutationJournalReplayTest.testReplayFlushed
This commit is contained in:
parent
f8eb131aa4
commit
982f3e3032
|
|
@ -183,6 +183,10 @@ public class MutationJournalReplayTest
|
|||
}
|
||||
}
|
||||
|
||||
// Persisting needsReplay=false is deferred until LogStatePersister drains the
|
||||
// queue. There's no persister in this test, so drain manually before replay.
|
||||
journal.drainCleanup(journal.snapshotPendingClearReplay());
|
||||
|
||||
List<Mutation> replayed = new ArrayList<>();
|
||||
journal.replay(new DeserializedRecordConsumer<ShortMutationId, Mutation>(MutationJournal.MutationSerializer.INSTANCE)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue