sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

Investigate improving `test_transport_works`

Open linear[bot] opened this issue 8 months ago • 1 comments

[opened by @szokeasaurusrex]

There are multiple problems with this test:

  • The test is flaky (specifically on Python 3.10)
    • The flakes appear related to asserting that stdout and stderr is empty
  • The test appears to be checking multiple things. It is unclear which of these is important
    • e.g. maybe we should not assert anything about stdout and stderr
  • The test is generally difficult to understand
  • The test takes a very long time to run because it is parameterized with many different combinations and all the tests are forked
    • Maybe we can reduce the combinations we check and stop forking the test

linear[bot] avatar Apr 14 '25 13:04 linear[bot]