Commit 1e62d47
authored
[TEST] Wait for no pending operations on the index shard (elastic#118244) (elastic#118258)
This fixes testRetryPointInTime which on teardown is looking to assert
that the operations in the translog and in the lucene index are the
same.
Previously we didn't wait for the translog operations to be applied.
This changes `assertConsistentHistoryInLuceneIndex` to wait for the
pending operations in the translog to be applied.
Fixes elastic#117116
(cherry picked from commit b4e852a)
Signed-off-by: Andrei Dan <[email protected]>1 parent 04434ed commit 1e62d47
File tree
2 files changed
+1
-3
lines changed- test/framework/src/main/java/org/elasticsearch/snapshots
2 files changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | 323 | | |
327 | 324 | | |
328 | 325 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments