Skip to content

[8.0] Update YAML Rest tests to check for product header on all responses (#83290)#83994

Merged
jbaiera merged 1 commit intoelastic:8.0from
jbaiera:backport/8.0/pr-83290
Feb 16, 2022
Merged

[8.0] Update YAML Rest tests to check for product header on all responses (#83290)#83994
jbaiera merged 1 commit intoelastic:8.0from
jbaiera:backport/8.0/pr-83290

Conversation

@jbaiera
Copy link
Copy Markdown
Member

@jbaiera jbaiera commented Feb 15, 2022

Backports the following commits to 8.0:

…lastic#83290)

This PR adds assertions to YAML Rest tests to ensure that product headers are always
returned in rest responses. Additional work has been included to fix a number of misuses
of ThreadContext, mostly because of stashing listeners without their accompanying contexts.

BWC Rest tests have been disabled for a few cases while the fixes are backported.
# Conflicts:
#	x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherUsageTransportAction.java
@jbaiera jbaiera merged commit d76ad17 into elastic:8.0 Feb 16, 2022
@jbaiera jbaiera deleted the backport/8.0/pr-83290 branch February 16, 2022 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants