4 instantiations of KnownFailureException
Microsoft.Extensions.Caching.Hybrid.Tests (4)
SizeTests.cs (4)
294throw new KnownFailureException("read failure"); 305throw new KnownFailureException("write failure"); 337throw new KnownFailureException("read failure"); 348throw new KnownFailureException("write failure");
2 references to KnownFailureException
Microsoft.Extensions.Caching.Hybrid.Tests (2)
SizeTests.cs (2)
176await Assert.ThrowsAsync<KnownFailureException>(async () => await cache.GetOrCreateAsync("key", func)); 242await Assert.ThrowsAsync<KnownFailureException>(async () => await cache.GetOrCreateAsync("key", func));