From 4308f8cecf1e22848eb9fff7b6a764ed4b370c99 Mon Sep 17 00:00:00 2001 From: Sadeq Abu-Hattem Date: Thu, 10 Sep 2026 19:43:02 +0300 Subject: [PATCH] Pin the MongoDB test container to 8.0.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mongo:8 floats to the newest 8.x, so the image the integration tests run against could change under a build that touched nothing — a fixture failing on a machine where the tag had moved, and passing on one where it had not. This leaves Mongo as the only fixture naming an exact image. PostgreSqlFixture still asks for postgres:17-alpine and SqlServerFixture for mcr.microsoft.com/mssql/server:2022-latest, both of which float the same way and are worth pinning on the same reasoning. Co-Authored-By: Claude Opus 5 --- tests/DotNetBoost.Settings.IntegrationTests/MongoDbFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DotNetBoost.Settings.IntegrationTests/MongoDbFixture.cs b/tests/DotNetBoost.Settings.IntegrationTests/MongoDbFixture.cs index 4033cbe..8333b56 100644 --- a/tests/DotNetBoost.Settings.IntegrationTests/MongoDbFixture.cs +++ b/tests/DotNetBoost.Settings.IntegrationTests/MongoDbFixture.cs @@ -9,7 +9,7 @@ namespace DotNetBoost.Settings.IntegrationTests; /// public sealed class MongoDbFixture : IAsyncLifetime { - private readonly MongoDbContainer _container = new MongoDbBuilder("mongo:8").Build(); + private readonly MongoDbContainer _container = new MongoDbBuilder("mongo:8.0.4").Build(); private int _databaseCounter;