From 654c84f1119bacdc372c01aeb6e62143678bdf59 Mon Sep 17 00:00:00 2001 From: John Luo Date: Fri, 7 Jul 2017 19:28:26 -0700 Subject: [PATCH] Increase timeout for more test consistency --- test/Microsoft.Extensions.Caching.Memory.Tests/CapacityTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Microsoft.Extensions.Caching.Memory.Tests/CapacityTests.cs b/test/Microsoft.Extensions.Caching.Memory.Tests/CapacityTests.cs index fb3cd41..1d393d6 100644 --- a/test/Microsoft.Extensions.Caching.Memory.Tests/CapacityTests.cs +++ b/test/Microsoft.Extensions.Caching.Memory.Tests/CapacityTests.cs @@ -376,7 +376,7 @@ namespace Microsoft.Extensions.Caching.Memory // Wait for compaction to complete for (var i = 0; i < 3; i++) { - Assert.True(await sem.WaitAsync(TimeSpan.FromSeconds(5))); + Assert.True(await sem.WaitAsync(TimeSpan.FromSeconds(10))); } // There should be 2 items in the cache