newrelic / newrelic-python-agent

New Relic Python Agent
https://docs.newrelic.com/docs/agents/python-agent
Apache License 2.0
178 stars 102 forks source link

Move connector instantiation inside event loop #1191

Closed hmstepanek closed 3 months ago

hmstepanek commented 3 months ago

Overview

Fix failing aiohttp tests by moving the connector instantiation inside event loop.

github-actions[bot] commented 3 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 1 0 0 0.73s
✅ PYTHON flake8 1 0 0.37s
✅ PYTHON isort 1 0 0 0.19s
✅ PYTHON pylint 1 0 2.96s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.57%. Comparing base (772adec) to head (08a512a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1191 +/- ## ========================================== + Coverage 81.40% 81.57% +0.17% ========================================== Files 196 196 Lines 21735 21735 Branches 3795 3795 ========================================== + Hits 17693 17730 +37 + Misses 2937 2902 -35 + Partials 1105 1103 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.