From 29e5652477f181e37baf41e6be23f8d4e7fe2f69 Mon Sep 17 00:00:00 2001 From: Toutsu Date: Sat, 13 Jun 2026 13:29:30 +0300 Subject: [PATCH] test: increase Testcontainers fixture timeout to 5 minutes Slow ARM64 runners need more time to start PostgreSQL containers and run migrations before integration tests execute. --- .../CreateSession/CreateSessionHandlerIntegrationTests.cs | 2 +- .../CreateSession/Wizard/WizardDraftRepositoryFixture.cs | 2 +- .../GmRelay.Bot.Tests/Web/PortfolioMigrationPostgresFixture.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/GmRelay.Bot.Tests/Features/Sessions/CreateSession/CreateSessionHandlerIntegrationTests.cs b/tests/GmRelay.Bot.Tests/Features/Sessions/CreateSession/CreateSessionHandlerIntegrationTests.cs index fc857c5..8ffa2f0 100644 --- a/tests/GmRelay.Bot.Tests/Features/Sessions/CreateSession/CreateSessionHandlerIntegrationTests.cs +++ b/tests/GmRelay.Bot.Tests/Features/Sessions/CreateSession/CreateSessionHandlerIntegrationTests.cs @@ -14,7 +14,7 @@ public sealed class CreateSessionHandlerPostgresCollection : ICollectionFixture< public sealed class CreateSessionHandlerPostgresFixture : IAsyncLifetime { - private static readonly TimeSpan ContainerTimeout = TimeSpan.FromMinutes(2); + private static readonly TimeSpan ContainerTimeout = TimeSpan.FromMinutes(5); private readonly PostgreSqlContainer container = new PostgreSqlBuilder("postgres:17-alpine").Build(); public Task InitializeAsync() diff --git a/tests/GmRelay.Bot.Tests/Features/Sessions/CreateSession/Wizard/WizardDraftRepositoryFixture.cs b/tests/GmRelay.Bot.Tests/Features/Sessions/CreateSession/Wizard/WizardDraftRepositoryFixture.cs index 9b6a8ac..5a66318 100644 --- a/tests/GmRelay.Bot.Tests/Features/Sessions/CreateSession/Wizard/WizardDraftRepositoryFixture.cs +++ b/tests/GmRelay.Bot.Tests/Features/Sessions/CreateSession/Wizard/WizardDraftRepositoryFixture.cs @@ -11,7 +11,7 @@ public sealed class WizardDraftRepositoryCollection : ICollectionFixture