We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d894679 commit 5df0ba5Copy full SHA for 5df0ba5
server/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java
@@ -4490,7 +4490,7 @@ public void testCleanUpCommitsWhenGlobalCheckpointAdvanced() throws Exception {
4490
globalCheckpoint.set(randomLongBetween(engine.getLocalCheckpoint(), Long.MAX_VALUE));
4491
engine.syncTranslog();
4492
assertThat(DirectoryReader.listCommits(store.directory()), contains(commits.get(commits.size() - 1)));
4493
- assertThat(engine.estimateTranslogOperationsFromMinSeq(0L), equalTo(0));
+ assertThat(engine.getTranslog().totalOperations(), equalTo(0));
4494
}
4495
4496
0 commit comments