Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with freezegun #39

Open
aronneagu opened this issue Dec 12, 2024 · 1 comment
Open

Incompatible with freezegun #39

aronneagu opened this issue Dec 12, 2024 · 1 comment

Comments

@aronneagu
Copy link

Hi,

Running tests that are using with https://github.com/spulec/freezegun, will show inaccurate span duration.
Is there a way to use the above project, while at the same time pytest-opentelemetry returning the correct time/duration?

@sruggier
Copy link

I think you probably want to add this package to the ignore list when you start freezegun, as documented in the freezegun README, and then open an issue or pull request with freezegun to request that they add it to the default ignore list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants