Skip to content

Conversation

@basepi
Copy link
Contributor

@basepi basepi commented Feb 8, 2021

What does this pull request do?

I realized while debugging #1032 that we were erroneously sending the request body as a parsed-from-json object, rather than a string as the spec requires. This PR fixes that.

Related issues

Fixes #1032 (again)

@basepi basepi requested a review from beniwohli February 8, 2021 16:05
@ghost
Copy link

ghost commented Feb 8, 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

Expand to view the summary

Build stats

  • Build Cause: Pull request #1041 updated

  • Start Time: 2021-02-17T00:59:47.683+0000

  • Duration: 29 min 30 sec

  • Commit: f730adb

Test stats 🧪

Test Results
Failed 0
Passed 7941
Skipped 5735
Total 13676

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 1

Expand to view the steps failures

Shell Script
  • Took 4 min 38 sec . View more details on here
  • Description: ./tests/scripts/docker/run_tests.sh pypy-3 none

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 7941
Skipped 5735
Total 13676

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.

Great catch!

@basepi basepi merged commit f49e23a into elastic:master Feb 17, 2021
beniwohli pushed a commit to beniwohli/apm-agent-python that referenced this pull request Sep 14, 2021
* Send request body as a string

* CHANGELOG

* Fix tests
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.

capture_body makes requests hangs / validation error

2 participants