Skip to content

Commit eafc1e4

Browse files
committed
test(term): filtered out non-test-related events during integration
1 parent be2e4c6 commit eafc1e4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

crates/synd_term/tests/test/helper.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,13 @@ impl TestCase {
9797
}
9898

9999
pub fn init_tracing() {
100+
let show_code_location = false;
100101
tracing_subscriber::fmt()
101102
.with_env_filter(EnvFilter::from_default_env())
102-
.with_line_number(true)
103-
.with_file(true)
104-
.with_target(false)
103+
.with_line_number(show_code_location)
104+
.with_file(show_code_location)
105+
.with_target(true)
106+
.without_time()
105107
.init();
106108
}
107109

justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ test *flags:
5959

6060
# Run integration test by insta
6161
integration:
62-
RUST_LOG="synd,integration,kvsd=info,info" \
62+
RUST_LOG="synd_term=info,integration=info,synd_test=info,kvsd=warn,metrics=warn,tower_http=warn,info" \
6363
INSTA_OUTPUT=diff INSTA_UPDATE=new INSTA_TEST_RUNNER=nextest \
6464
cargo insta test \
6565
--package synd-term --features integration --test integration \

0 commit comments

Comments
 (0)