Fix compilation after merge from master

This commit is contained in:
Nhat Nguyen 2018-08-20 16:33:15 -04:00
parent 853eb1c51c
commit 77d7547be2
1 changed files with 1 additions and 1 deletions

View File

@ -4472,7 +4472,7 @@ public class InternalEngineTests extends EngineTestCase {
globalCheckpoint.set(randomLongBetween(engine.getLocalCheckpoint(), Long.MAX_VALUE)); globalCheckpoint.set(randomLongBetween(engine.getLocalCheckpoint(), Long.MAX_VALUE));
engine.syncTranslog(); engine.syncTranslog();
assertThat(DirectoryReader.listCommits(store.directory()), contains(commits.get(commits.size() - 1))); assertThat(DirectoryReader.listCommits(store.directory()), contains(commits.get(commits.size() - 1)));
assertThat(engine.estimateTranslogOperationsFromMinSeq(0L), equalTo(0)); assertThat(engine.getTranslog().totalOperations(), equalTo(0));
} }
} }