Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Azure Mock Issues (#49377) #49382

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

original-brownbear
Copy link
Member

Fixing a few small issues found in this code:

  1. We weren't reading the request headers but the response headers when checking for blob existence in the mocked single upload path
  2. Error code can never be null removed the dead code that resulted
  3. In the logging wrapper we weren't checking for Throwable so any failing assertions in the http mock would not show up since they
    run on a thread managed by the mock http server

backport of #49377

Fixing a few small issues found in this code:
1. We weren't reading the request headers but the response headers when checking for blob existence in the mocked single upload path
2. Error code can never be `null` removed the dead code that resulted
3. In the logging wrapper we weren't checking for `Throwable` so any failing assertions in the http mock would not show up since they
run on a thread managed by the mock http server
@original-brownbear original-brownbear added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Nov 20, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@original-brownbear
Copy link
Member Author

Jenkins run elasticsearch-ci/1

@original-brownbear original-brownbear merged commit 8543bf2 into elastic:7.5 Nov 21, 2019
@original-brownbear original-brownbear deleted the 49377-7.5 branch November 21, 2019 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants