From 4164c4671a7fecc47adc574084e071abd096b759 Mon Sep 17 00:00:00 2001 From: Behzad Khosravifar Date: Sat, 27 Apr 2024 09:30:52 +0330 Subject: [PATCH] increase performance test time because of linux copability --- src/Downloader.Test/IntegrationTests/DownloadServiceTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Downloader.Test/IntegrationTests/DownloadServiceTest.cs b/src/Downloader.Test/IntegrationTests/DownloadServiceTest.cs index b5de2d3..58ab570 100644 --- a/src/Downloader.Test/IntegrationTests/DownloadServiceTest.cs +++ b/src/Downloader.Test/IntegrationTests/DownloadServiceTest.cs @@ -234,7 +234,7 @@ public async Task ResumePerformanceTest() // assert Assert.False(eventArgs?.Cancelled); - Assert.InRange(watch.ElapsedMilliseconds, 0, 1500); + Assert.InRange(watch.ElapsedMilliseconds, 0, 2000); Assert.Equal(4, Options.ParallelCount); Assert.Equal(8, Options.ChunkCount); }