Fix flaky unit tests (#604)

This commit is contained in:
Flaminel
2026-05-06 10:49:16 +03:00
committed by GitHub
parent 20ad056400
commit ef8fb2dd0b
2 changed files with 5 additions and 0 deletions

View File

@@ -22,10 +22,12 @@ using Microsoft.Extensions.Options;
using NSubstitute;
using NSubstitute.ExceptionExtensions;
using Shouldly;
using Cleanuparr.Infrastructure.Tests.Features.Jobs.Integration;
using Xunit;
namespace Cleanuparr.Infrastructure.Tests.Features.DownloadRemover;
[Collection(IntegrationTestCollection.Name)]
public class QueueItemRemoverTests : IDisposable
{
private readonly ILogger<QueueItemRemover> _logger;

View File

@@ -14,8 +14,11 @@ using NSubstitute;
using Shouldly;
using Xunit;
using Cleanuparr.Infrastructure.Tests.Features.Jobs.Integration;
namespace Cleanuparr.Infrastructure.Tests.Services;
[Collection(IntegrationTestCollection.Name)]
public class StrikerTests : IDisposable
{
private readonly EventsContext _strikerContext;