Make use of cargo tests scoped test output

By using `test_writer`, cargo can automatically scope the output
of the test to the relevant thread and will also only output it
if the test fails or is run with `--nocapture`.
This commit is contained in:
Thomas Eizinger 2021-03-29 12:12:26 +11:00
parent 908dae3442
commit 4ab7e83806
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

View File

@ -321,6 +321,7 @@ where
let _guard = tracing_subscriber::fmt()
.with_env_filter("warn,swap=debug,monero_harness=debug,monero_rpc=info,bitcoin_harness=info,testcontainers=info")
.with_test_writer()
.set_default();
let env_config = C::get_config();