Skip to content

Conversation

basepi
Copy link
Contributor

@basepi basepi commented Oct 1, 2021

If an HTTP response comes back from the "server" but isn't formed correctly, we can get the following error:

version = data["version"] TypeError: 'int' object is not subscriptable 

This came up when testing against the new (upcoming) lambda extension. Apparently it responded, but not with useful data. This PR fixes that error.

Related issues

Ref #1194

@ghost
Copy link

ghost commented Oct 1, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Duration: 36 min 52 sec

❕ Flaky test report

No test was executed to be analysed.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.
Copy link
Contributor

@beniwohli beniwohli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind adding a test for this case? :)

@basepi basepi merged commit c71c216 into elastic:master Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants