Skip to content

Unfinished attempt to use the tracing-test crate#1147

Closed
josecelano wants to merge 2 commits intotorrust:developfrom
josecelano:1069-sdterror-output-from-tracing-running-tests-with-tracing-test-crate
Closed

Unfinished attempt to use the tracing-test crate#1147
josecelano wants to merge 2 commits intotorrust:developfrom
josecelano:1069-sdterror-output-from-tracing-running-tests-with-tracing-test-crate

Conversation

@josecelano
Copy link
Copy Markdown
Member

Relates to: #1142

We want to write assertions for logs. I was working on this PR, and I realized there is a crate (tracing-test) that does exactly what I was trying to implement.

The problem is the crate has a bug with threads. So, I can't capture logs triggered in threads.

I've created a repo to reproduce it.

I've created this PR for the record.

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

Successfully merging this pull request may close these issues.

1 participant