From 748a56108914ef840e9f28a637893fbeb08e439c Mon Sep 17 00:00:00 2001 From: barsdeveloper Date: Sat, 7 Mar 2026 14:17:15 +0100 Subject: [PATCH 1/2] Update mongo --- src/mongo/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mongo/mod.rs b/src/mongo/mod.rs index 1147825..6753b1b 100644 --- a/src/mongo/mod.rs +++ b/src/mongo/mod.rs @@ -4,7 +4,7 @@ use testcontainers::{ }; const NAME: &str = "mongo"; -const TAG: &str = "5.0.6"; +const TAG: &str = "8.2.5"; /// Type of MongoDB instance to create. #[derive(Default, Debug, Clone)] @@ -108,10 +108,10 @@ impl Image for Mongo { "'rs.initiate()'".to_string(), ]) .with_cmd_ready_condition(CmdWaitFor::message_on_stdout( - "Using a default configuration for the set", + "Created configuration for initiation", )) .with_container_ready_conditions(vec![WaitFor::message_on_stdout( - "Rebuilding PrimaryOnlyService due to stepUp", + "Transition to primary complete", )])]), } } From 908539c7ca94bb7996b4a9e6d36c33d33a0f9846 Mon Sep 17 00:00:00 2001 From: barsdeveloper Date: Sat, 7 Mar 2026 14:25:25 +0100 Subject: [PATCH 2/2] Revert with_cmd_ready_condition --- src/mongo/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mongo/mod.rs b/src/mongo/mod.rs index 6753b1b..b3664a8 100644 --- a/src/mongo/mod.rs +++ b/src/mongo/mod.rs @@ -108,7 +108,7 @@ impl Image for Mongo { "'rs.initiate()'".to_string(), ]) .with_cmd_ready_condition(CmdWaitFor::message_on_stdout( - "Created configuration for initiation", + "Using a default configuration for the set", )) .with_container_ready_conditions(vec![WaitFor::message_on_stdout( "Transition to primary complete",