Stronger check in translog prepare and commit test
This commit strengthens an assertion in the translog prepare commit and commit test.
This commit is contained in:
parent
23b224a5a9
commit
180d1f2219
|
@ -2273,7 +2273,7 @@ public class TranslogTests extends ESTestCase {
|
|||
for (long g = 0; g < committedGeneration; g++) {
|
||||
assertFileDeleted(translog, g);
|
||||
}
|
||||
for (long g = committedGeneration; g < translog.currentFileGeneration(); g++) {
|
||||
for (long g = committedGeneration; g <= translog.currentFileGeneration(); g++) {
|
||||
assertFileIsPresent(translog, g);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue