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: the logging should be properly initialized when running multiple tests #1498

Open
RolandSherwin opened this issue Mar 25, 2024 · 0 comments

Comments

@RolandSherwin
Copy link
Member

Currently, if we have multiple unit tests with LogBuilder::init_single_threaded_tokio_test and if you run those tests at the same time, then only a single log file is created with all the logs being written there with overlap.

Use something like https://crates.io/crates/test-log. But preferably log them to a file, instead of stdout for easier debugging during CI.

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