Commit a6b5fc1
committed
TEST: Skip assertSeqNos for closed shards (#33130)
If a shard was closed, we return null for SeqNoStats. Therefore the
assertion assertSeqNos will hit NPE when it verifies a closed shard.
This commit skips closed shards in assertSeqNos and enables this
assertion in AbstractDisruptionTestCase.1 parent 72e0a64 commit a6b5fc1
File tree
2 files changed
+4
-0
lines changed- server/src/test/java/org/elasticsearch/discovery
- test/framework/src/main/java/org/elasticsearch/test
2 files changed
+4
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2343 | 2343 | | |
2344 | 2344 | | |
2345 | 2345 | | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
2346 | 2349 | | |
2347 | 2350 | | |
2348 | 2351 | | |
| |||
0 commit comments