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

test: find way to test Layer #45

Open
CrabNejonas opened this issue Sep 29, 2023 · 1 comment
Open

test: find way to test Layer #45

CrabNejonas opened this issue Sep 29, 2023 · 1 comment

Comments

@CrabNejonas
Copy link
Contributor

Currently testing the Layer is difficult bc the data is generated through tracing macros, tracing-mock seems promising here, but can it integrate with a custom layer?

@CrabNejonas
Copy link
Contributor Author

#41 includes tests for Layer, but they are broken right now bc apparently tracing (inc combination with tokio?) leaks events cross-thread even if we explicitly set the subscriber to be current thread.

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

1 participant