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