Fix reindex test after toString change
Weakens the assertion on wait_for_active_shards so that we don't check the toString of the bulk request because it isn't important. Relates to #22900
This commit is contained in:
parent
e39b96f257
commit
0250c7ab18
|
@ -26,7 +26,7 @@
|
|||
match_all: {}
|
||||
|
||||
- match:
|
||||
failures.0.cause.reason: /Not.enough.active.copies.to.meet.shard.count.of.\[4\].\(have.1,.needed.4\)..Timeout\:.\[1s\],.request:.\[BulkShardRequest.to.\[test\].containing.\[1\].requests\]/
|
||||
failures.0.cause.reason: /Not.enough.active.copies.to.meet.shard.count.of.\[4\].\(have.1,.needed.4\)..Timeout\:.\[1s\],.request:.+/
|
||||
|
||||
- do:
|
||||
indices.refresh: {}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
dest:
|
||||
index: dest
|
||||
- match:
|
||||
failures.0.cause.reason: /Not.enough.active.copies.to.meet.shard.count.of.\[4\].\(have.1,.needed.4\)\..Timeout\:.\[1s\],.request:.\[BulkShardRequest.to.\[dest\].containing.\[1\].requests\]/
|
||||
failures.0.cause.reason: /Not.enough.active.copies.to.meet.shard.count.of.\[4\].\(have.1,.needed.4\)\..Timeout\:.\[1s\],.request:.+/
|
||||
|
||||
- do:
|
||||
reindex:
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
wait_for_active_shards: 4
|
||||
timeout: 1s
|
||||
- match:
|
||||
failures.0.cause.reason: /Not.enough.active.copies.to.meet.shard.count.of.\[4\].\(have.1,.needed.4\)..Timeout\:.\[1s\],.request:.\[BulkShardRequest.to.\[test\].containing.\[1\].requests\]/
|
||||
failures.0.cause.reason: /Not.enough.active.copies.to.meet.shard.count.of.\[4\].\(have.1,.needed.4\)..Timeout\:.\[1s\],.request:.+/
|
||||
|
||||
- do:
|
||||
update_by_query:
|
||||
|
|
Loading…
Reference in New Issue