Commit 9dad82e
authored
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 739a8d3 commit 9dad82e
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 | |
|---|---|---|---|
| |||
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
2352 | 2355 | | |
2353 | 2356 | | |
2354 | 2357 | | |
| |||
0 commit comments