Skip to content

Commit

Permalink
Add logging_handle to TestApp
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinta Liem committed Dec 11, 2024
1 parent 76c6652 commit 7e1cb2b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ipa-core/src/net/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,11 @@ impl TestApp {
shard_server.start_on(&IpaRuntime::current(), self.shard_server.socket.take(), ()),
)
.await;
setup.connect(transport, shard_transport)

let metrics_handle = install_collector().unwrap();
let logging_handle = LoggingHandle { metrics_handle };

setup.connect(transport, shard_transport, logging_handle)
}
}

Expand Down

0 comments on commit 7e1cb2b

Please sign in to comment.