mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Make use of cargo test
s 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:
parent
908dae3442
commit
4ab7e83806
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user