Skip to content

Commit 37293f0

Browse files
authored
Simulate API: Remove invalid processors BCC test (#132325)
- Remove a test that tests for a bug that returns a 500, and fails rest-compatibility in my fix PR in `9.2`
1 parent f01e0fe commit 37293f0

File tree

1 file changed

+0
-65
lines changed
  • rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/simulate.ingest

1 file changed

+0
-65
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/simulate.ingest/10_basic.yml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -610,71 +610,6 @@ setup:
610610
- match: { docs.1.doc._source.foo: "rab" }
611611
- match: { docs.1.doc.executed_pipelines: ["my-pipeline", "my-final-pipeline"] }
612612

613-
---
614-
"Test bad pipeline substitution":
615-
616-
- skip:
617-
features: [headers, allowed_warnings]
618-
619-
- do:
620-
headers:
621-
Content-Type: application/json
622-
ingest.put_pipeline:
623-
id: "my-pipeline"
624-
body: >
625-
{
626-
"processors": [
627-
]
628-
}
629-
- match: { acknowledged: true }
630-
631-
- do:
632-
allowed_warnings:
633-
- "index template [my-template] has index patterns [index-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [my-template] will take precedence during new index creation"
634-
indices.put_index_template:
635-
name: my-template
636-
body:
637-
index_patterns: index-*
638-
template:
639-
settings:
640-
default_pipeline: "my-pipeline"
641-
642-
- do:
643-
catch: "request"
644-
headers:
645-
Content-Type: application/json
646-
simulate.ingest:
647-
body: >
648-
{
649-
"docs": [
650-
{
651-
"_index": "index-1",
652-
"_id": "id",
653-
"_source": {
654-
"foo": "bar"
655-
}
656-
},
657-
{
658-
"_index": "index-1",
659-
"_id": "id",
660-
"_source": {
661-
"foo": "rab"
662-
}
663-
}
664-
],
665-
"pipeline_substitutions": {
666-
"my-pipeline": {
667-
"processors": [
668-
{
669-
"non-existent-processor": {
670-
}
671-
}
672-
]
673-
}
674-
}
675-
}
676-
- match: { status: 500 }
677-
678613
---
679614
"Test index in path":
680615

0 commit comments

Comments
 (0)