Skip to content

Commit

Permalink
More robust cache miss tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haneytron committed Jul 27, 2014
1 parent 8960da1 commit 7695991
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Dache.PerformanceTests/CacheMiss/CacheMissTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,22 @@ public static void Run()

if (bulkResult == null)
{
Console.WriteLine("PASS: Did not receive values for bulks cache keys");
Console.WriteLine("PASS: Did not receive values for bulk cache keys");
}
else
{
Console.WriteLine("FAIL: Received values for bulks cache keys");
Console.WriteLine("FAIL: Received values for bulk cache keys");
}

// Tag
var tagResult = cacheClient.GetTagged<string>("tagDoesntExist");
if (tagResult == null)
{
Console.WriteLine("PASS: Did not receive values for tag cache keys");
}
else
{
Console.WriteLine("FAIL: Received values for tag cache keys");
}

Console.ReadKey();
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ VERSION INFORMATION

- Fixed breaking change in tag adds introduced in 1.4.0

- Fixed breaking change in cache key misses introduced in 1.4.0


INSTALLATION INSTRUCTIONS
============================================
Expand Down

0 comments on commit 7695991

Please sign in to comment.