Skip to content

Commit b2cbfc5

Browse files
committed
Add assertion
1 parent 91fbab3 commit b2cbfc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/test/java/org/elasticsearch/index/seqno/LocalCheckpointTrackerTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public void testLazyInitialization() {
104104
* sequence numbers this could lead to excessive memory usage resulting in out of memory errors.
105105
*/
106106
tracker.markSeqNoAsCompleted(randomNonNegativeLong());
107+
assertThat(tracker.processedSeqNo.size(), equalTo(1));
107108
}
108109

109110
public void testSimpleOverFlow() {

0 commit comments

Comments
 (0)