elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.23k stars 24.85k forks source link

YAML tests: `catch` and warnings don't play nice #36388

Open nik9000 opened 5 years ago

nik9000 commented 5 years ago

It looks to me like in the yaml testing framework we only check the warnings that come back from an API call if it doesn't fail. Which is fine if we aren't expecting the request to fail. But when we are we won't check for warnings.

elasticmachine commented 5 years ago

Pinging @elastic/es-core-infra