fix(worker): enable safe multi-instance job processing
Some checks failed
ci / release-gate (push) Has been cancelled
Some checks failed
ci / release-gate (push) Has been cancelled
This commit is contained in:
@@ -2,6 +2,7 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
using Tiku.Application;
|
||||
using Tiku.Infrastructure;
|
||||
using Tiku.Infrastructure.Persistence;
|
||||
using Tiku.IntegrationTests.Infrastructure;
|
||||
|
||||
namespace Tiku.IntegrationTests;
|
||||
|
||||
@@ -13,8 +14,7 @@ public sealed class ModulePersistenceBoundaryTests
|
||||
var services = new ServiceCollection();
|
||||
services.AddLogging();
|
||||
services.AddApplication();
|
||||
services.AddInfrastructure(
|
||||
"Host=127.0.0.1;Port=5432;Database=tiku_module_boundary_test;Username=postgres;Password=unused");
|
||||
services.AddInfrastructure(DockerPostgresTestDefaults.CreateConnectionString("tiku_module_boundary_test"));
|
||||
|
||||
using var provider = services.BuildServiceProvider(new ServiceProviderOptions { ValidateScopes = true });
|
||||
using var scope = provider.CreateScope();
|
||||
|
||||
Reference in New Issue
Block a user