tests en vert
Some checks failed
Dotnet build and test / build (pull_request) Failing after 5m36s

This commit is contained in:
Paul Schneider 2026-09-12 17:31:18 +01:00
commit 67715f9d67
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
3 changed files with 40 additions and 65 deletions

View file

@ -357,21 +357,9 @@ public sealed class ApiWebServerFixture : WebHostFixture
public override void Dispose()
{
try
{
base.Dispose();
}
finally
{
lock (_sqliteLock)
{
if (_sharedSqliteConnection is not null)
{
_sharedSqliteConnection.Close();
_sharedSqliteConnection.Dispose();
_sharedSqliteConnection = null;
}
}
}
// Keep the shared in-memory SQLite connection alive for the
// whole test process. Closing it from one fixture instance can
// drop the schema while other tests are still running.
base.Dispose();
}
}