Skip to content

Commit 4353d86

Browse files
committed
remove test
1 parent 831befd commit 4353d86

File tree

1 file changed

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

1 file changed

+0
-66
lines changed

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

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -610,72 +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-
- skip:
616-
features: [headers, allowed_warnings]
617-
cluster_features: [ "simulate.ingest.400_on_failure" ]
618-
reason: "BWC: simulate.ingest returns 400 on failure in 9.2"
619-
620-
- do:
621-
headers:
622-
Content-Type: application/json
623-
ingest.put_pipeline:
624-
id: "my-pipeline"
625-
body: >
626-
{
627-
"processors": [
628-
]
629-
}
630-
- match: { acknowledged: true }
631-
632-
- do:
633-
allowed_warnings:
634-
- "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"
635-
indices.put_index_template:
636-
name: my-template
637-
body:
638-
index_patterns: index-*
639-
template:
640-
settings:
641-
default_pipeline: "my-pipeline"
642-
643-
- do:
644-
catch: "request"
645-
headers:
646-
Content-Type: application/json
647-
simulate.ingest:
648-
body: >
649-
{
650-
"docs": [
651-
{
652-
"_index": "index-1",
653-
"_id": "id",
654-
"_source": {
655-
"foo": "bar"
656-
}
657-
},
658-
{
659-
"_index": "index-1",
660-
"_id": "id",
661-
"_source": {
662-
"foo": "rab"
663-
}
664-
}
665-
],
666-
"pipeline_substitutions": {
667-
"my-pipeline": {
668-
"processors": [
669-
{
670-
"non-existent-processor": {
671-
}
672-
}
673-
]
674-
}
675-
}
676-
}
677-
- match: { status: 500 }
678-
679613
---
680614
"Test index in path":
681615

0 commit comments

Comments
 (0)