From 1dc92a812563de3c265fb7269359bafed31c3c95 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Tue, 13 Oct 2020 15:03:26 -0700 Subject: [PATCH] Increase timeout for Cancels_OnlySlow test Fixes #15936 --- .../tests/Batching/AsyncEventExtensionsTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/tests/Batching/AsyncEventExtensionsTests.cs b/sdk/search/Azure.Search.Documents/tests/Batching/AsyncEventExtensionsTests.cs index 37d722f81501c..bdadf33799628 100644 --- a/sdk/search/Azure.Search.Documents/tests/Batching/AsyncEventExtensionsTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/Batching/AsyncEventExtensionsTests.cs @@ -423,8 +423,8 @@ await Task.WhenAll( public async Task Cancels_OnlySlow() { TestHandler first = new TestHandler() { Delay = TimeSpan.FromMilliseconds(20) }; - TestHandler second = new TestHandler() { Delay = TimeSpan.FromMilliseconds(200) }; - TestHandler third = new TestHandler() { Delay = TimeSpan.FromMilliseconds(200) }; + TestHandler second = new TestHandler() { Delay = TimeSpan.FromMilliseconds(500) }; + TestHandler third = new TestHandler() { Delay = TimeSpan.FromMilliseconds(500) }; CancellationTokenSource cancellation = new CancellationTokenSource(); Func handler = null;