From a8b2dde61564136f7094ea5a347b4e98af879a75 Mon Sep 17 00:00:00 2001 From: Jimmy Vo Date: Fri, 7 Feb 2025 09:47:47 -0500 Subject: [PATCH] [PM-18079] Fix intermittent failing database integration tests. (#5381) --- .../Repositories/OrganizationDomainRepositoryTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationDomainRepositoryTests.cs b/test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationDomainRepositoryTests.cs index ad92f40efc..7f0ed582bf 100644 --- a/test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationDomainRepositoryTests.cs +++ b/test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationDomainRepositoryTests.cs @@ -252,12 +252,12 @@ public class OrganizationDomainRepositoryTests Txt = "btw+12345" }; - var outside36HoursWindow = 20; + var outside36HoursWindow = 50; organizationDomain.SetNextRunDate(outside36HoursWindow); await organizationDomainRepository.CreateAsync(organizationDomain); - var date = DateTimeOffset.UtcNow.Date.AddDays(1); + var date = DateTime.UtcNow.AddDays(1); // Act var domains = await organizationDomainRepository.GetManyByNextRunDateAsync(date);