Skip to content

Commit 02f194f

Browse files
committed
Remove unused testcontainers dependency
1 parent 55cbcdf commit 02f194f

3 files changed

Lines changed: 4 additions & 15 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/hotfix/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ categories.workspace = true
1313

1414
[features]
1515
redb = ["dep:redb"]
16+
mongodb = ["dep:mongodb"]
1617

1718
[lints]
1819
workspace = true
@@ -38,5 +39,4 @@ tracing = { workspace = true }
3839
uuid = { version = "1.5.0", features = ["v4"] }
3940

4041
[dev-dependencies]
41-
testcontainers = "^0.24"
42-
testcontainers-modules = { version = "^0.12", features = ["blocking", "mongo"] }
42+
testcontainers = "^0.24"

crates/hotfix/tests/store_tests.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,8 @@ mod mongodb_test_utils {
414414
use hotfix::store::mongodb::MongoDbMessageStore;
415415
use hotfix::store::MessageStore;
416416
use mongodb::Client;
417-
use testcontainers::GenericImage;
418-
use testcontainers_modules::testcontainers::runners::AsyncRunner;
419-
use testcontainers_modules::testcontainers::ContainerAsync;
417+
use testcontainers::runners::AsyncRunner;
418+
use testcontainers::{ContainerAsync, GenericImage};
420419
use tokio::sync::OnceCell;
421420

422421
static MONGO_CONTAINER: OnceCell<ContainerAsync<GenericImage>> = OnceCell::const_new();

0 commit comments

Comments
 (0)