Add UpdateSet, Relaxed in client, Fix tests

This commit is contained in:
George Suntres
2026-04-22 10:22:23 -04:00
parent 45f9ac558f
commit 188c5a1be1
9 changed files with 163 additions and 31 deletions

View File

@@ -47,11 +47,13 @@ func TestMain(m *testing.M) {
// 2. Get the connection string dynamically
endpoint, _ := mongoContainer.ConnectionString(ctx)
mongoDebug := os.Getenv("DEBUG") != ""
Start(&MongoStartProps{
MongoUri: endpoint,
MongoUser: user,
MongoPass: pass,
MongoDebugQuery: false,
MongoDebugQuery: mongoDebug,
})
// 3. Run tests