Skip to content

Commit 9db0541

Browse files
committed
Add logging and ignore simulation output
1 parent 688c6b8 commit 9db0541

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/target
2+
*.gif

Cargo.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ iroh = { git = "https://github.com/n0-computer/iroh", branch = "connection-speed
2929
[dev-dependencies]
3030
gif = "0.13.3"
3131
testresult = "0.4.1"
32+
tracing-subscriber = "0.3.19"

src/tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,6 @@ async fn perfect_routing_tables_10k() {
406406
#[tokio::test(flavor = "multi_thread")]
407407
#[ignore = "runs very long and takes ~20GiB"]
408408
async fn perfect_routing_tables_100k() {
409-
let metrics = tokio::runtime::Handle::current().metrics();
410-
println!("{metrics:?}");
411409
let n = 100000;
412410
let seed = 0;
413411
let bootstrap = next_n(0);
@@ -547,6 +545,7 @@ fn spawn_routers(iroh_nodes: &IrohNodes) -> Vec<Router> {
547545

548546
#[tokio::test(flavor = "multi_thread")]
549547
async fn iroh_perfect_routing_tables_500() -> TestResult<()> {
548+
tracing_subscriber::fmt::try_init().ok();
550549
let n = 500;
551550
let seed = 0;
552551
let bootstrap = 0;

0 commit comments

Comments
 (0)