Don't start integration tests too soon

(cherry picked from commit 47d10d8d0922e3eaadf9898bb22dc2b71b1b17d5)
This commit is contained in:
ta264
2021-05-12 22:08:34 +01:00
committed by Qstick
parent ddf22bbe88
commit 43296c759a
2 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
using System.Threading;
using NLog;
using NUnit.Framework;
using NzbDrone.Common.Extensions;
using NzbDrone.Core.Indexers.FileList;
using NzbDrone.Test.Common;
using Prowlarr.Http.ClientSchema;
@@ -34,6 +35,8 @@ namespace NzbDrone.Integration.Test
protected override void InitializeTestTarget()
{
WaitForCompletion(() => Tasks.All().SelectList(x => x.TaskName).Contains("CheckHealth"));
Indexers.Post(new Prowlarr.Api.V1.Indexers.IndexerResource
{
Enable = false,