Skip to content

Conversation

@original-brownbear
Copy link
Contributor

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
Contributor 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