dd-trace-py icon indicating copy to clipboard operation
dd-trace-py copied to clipboard

test(debugging): reduce uplaoder test flakiness

Open P403n1x87 opened this issue 3 years ago • 0 comments

Description

Because of possible rounding errors, the size-based uploader tests might fail. We include a further encoding call to increase the odds that we tip over the buffer size and cause an exception where we expect one.

Checklist

Reviewer Checklist

  • [ ] Title is accurate.
  • [ ] Description motivates each change.
  • [ ] No unnecessary changes were introduced in this PR.
  • [ ] PR cannot be broken up into smaller PRs.
  • [ ] Avoid breaking API changes unless absolutely necessary.
  • [ ] Tests provided or description of manual testing performed is included in the code or PR.
  • [x] Release note has been added for fixes and features, or else changelog/no-changelog label added.
  • [ ] All relevant GitHub issues are correctly linked.
  • [ ] Backports are identified and tagged with Mergifyio.
  • [ ] Add to milestone.

P403n1x87 avatar Aug 12 '22 13:08 P403n1x87