We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853eb1c commit 77d7547Copy full SHA for 77d7547
server/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java
@@ -4472,7 +4472,7 @@ public void testCleanUpCommitsWhenGlobalCheckpointAdvanced() throws Exception {
4472
globalCheckpoint.set(randomLongBetween(engine.getLocalCheckpoint(), Long.MAX_VALUE));
4473
engine.syncTranslog();
4474
assertThat(DirectoryReader.listCommits(store.directory()), contains(commits.get(commits.size() - 1)));
4475
- assertThat(engine.estimateTranslogOperationsFromMinSeq(0L), equalTo(0));
+ assertThat(engine.getTranslog().totalOperations(), equalTo(0));
4476
}
4477
4478
0 commit comments