Skip to content

Commit

Permalink
sui-storage: use telemetry_subscribers::init_for_testing in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed Jun 2, 2022
1 parent f1d2462 commit af30a18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/sui-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ move-core-types = { git = "https://github.com/move-language/move", rev = "1b2d3b

[dev-dependencies]
pretty_assertions = "1.2.0"
tracing-subscriber = "0.3.9"
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "2de1a391654a7ee09d867de2f16627b915ad21f0" }
2 changes: 1 addition & 1 deletion crates/sui-storage/src/lock_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ mod tests {

#[tokio::test]
async fn test_lockservice_conc_acquire_init() {
telemetry_subscribers::init_for_testing();
let ls = init_lockservice();
tracing_subscriber::fmt::init();

let ref1: ObjectRef = (ObjectID::random(), 1.into(), ObjectDigest::random());
let ref2: ObjectRef = (ObjectID::random(), 1.into(), ObjectDigest::random());
Expand Down

0 comments on commit af30a18

Please sign in to comment.