Skip to content

Commit 0d0adba

Browse files
committed
fix tracing
1 parent 7ec7b11 commit 0d0adba

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

minion-tests/src/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ static WORKER_ENV_NAME: &str = "__MINION_ROLE_IS_WORKER__";
6464
static TEST_ENV_NAME: &str = "__MINION_ROLE_IS_TEST__";
6565
fn main() {
6666
tracing_subscriber::fmt()
67-
.with_writer(std::io::stdout)
67+
.pretty()
68+
.with_writer(std::io::stderr)
6869
.init();
6970
let test_cases = &*tests::TESTS;
7071
let role = get_role();

minion-tests/src/worker.rs

-4
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ async fn inner_main(test_cases: &[&'static dyn TestCase]) {
5858
}
5959

6060
pub fn main(test_cases: &[&'static dyn TestCase]) {
61-
tracing_subscriber::fmt()
62-
.pretty()
63-
.with_writer(std::io::stderr)
64-
.init();
6561
let rt = tokio::runtime::Builder::new_current_thread()
6662
.enable_all()
6763
.build()

0 commit comments

Comments
 (0)