public void TestSlowImageGetIsSlow() { var task = Task.Run(() => DataFetcher.DownloadImagesFromPageSync(testUrlWithImages, downloadPath)); if (task.Wait(15000)) { } else { throw new TimeoutException(); } }
public void TestSlowImageGetIsSlow() { var task = Task.Run(() => DataFetcher.DownloadImagesFromPageSync(testUrlWithImages, downloadPath)); if (task.Wait(15000)) { } else { throw new TimeoutException(); } }