Improved performance of integration tests.
Some checks failed
ci / build-test (push) Failing after 8m39s
Some checks failed
ci / build-test (push) Failing after 8m39s
This commit is contained in:
@@ -32,8 +32,16 @@ public sealed class CreatorSearchProviderFixture2(MariaDbContainerFixture contai
|
||||
|
||||
public async ValueTask InitializeAsync()
|
||||
{
|
||||
DbContext = await MariaTestDb.CreateIsolatedAsync(
|
||||
//DbContext = await MariaTestDb.CreateIsolatedAsync(
|
||||
// container.RootConnectionString,
|
||||
// seed: SeedAsync);
|
||||
|
||||
var newDb = $"t_{DateTime.UtcNow:yyyyMMddHHmmss}_{Guid.NewGuid():N}";
|
||||
|
||||
DbContext = await MariaDbClone.CloneFromTemplateAsync(
|
||||
container.RootConnectionString,
|
||||
container.TemplateDbName,
|
||||
newDbName: newDb,
|
||||
seed: SeedAsync);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user