From b55f65269cf2eab745889ab522704a423be06d5d Mon Sep 17 00:00:00 2001 From: MichaC Date: Sat, 18 Nov 2017 11:57:12 +0100 Subject: [PATCH] Changing min StackExchange.Redis version to 1.2.6, fixes #179 --- .../CacheManager.StackExchange.Redis.csproj | 2 +- test/CacheManager.Config.Tests/Program.cs | 7 +++---- test/CacheManager.Config.Tests/Tests.cs | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/CacheManager.StackExchange.Redis/CacheManager.StackExchange.Redis.csproj b/src/CacheManager.StackExchange.Redis/CacheManager.StackExchange.Redis.csproj index f630365b..09252326 100644 --- a/src/CacheManager.StackExchange.Redis/CacheManager.StackExchange.Redis.csproj +++ b/src/CacheManager.StackExchange.Redis/CacheManager.StackExchange.Redis.csproj @@ -8,7 +8,7 @@ Caching;Cache;CacheManager;Distributed Cache;StackExchange Redis;Azure AppFabric;Memcached - + diff --git a/test/CacheManager.Config.Tests/Program.cs b/test/CacheManager.Config.Tests/Program.cs index 7edbbb43..6d91af7e 100644 --- a/test/CacheManager.Config.Tests/Program.cs +++ b/test/CacheManager.Config.Tests/Program.cs @@ -15,7 +15,7 @@ internal class Program { public static void Main(string[] args) { - var iterations = 10; + var iterations = 100; try { var builder = new Core.ConfigurationBuilder("myCache"); @@ -24,7 +24,7 @@ public static void Main(string[] args) f.AddConsole(LogLevel.Warning); f.AddDebug(LogLevel.Debug); }); - + builder .WithRetryTimeout(500) .WithMaxRetries(5); @@ -54,7 +54,6 @@ public static void Main(string[] args) //builder.WithRedisConfiguration("redis", "localhost:22121"); - builder.WithBondCompactBinarySerializer(); #if !NETCOREAPP @@ -106,4 +105,4 @@ public static void Main(string[] args) Console.ReadKey(); } } -} \ No newline at end of file +} diff --git a/test/CacheManager.Config.Tests/Tests.cs b/test/CacheManager.Config.Tests/Tests.cs index 432ad0a3..70466053 100644 --- a/test/CacheManager.Config.Tests/Tests.cs +++ b/test/CacheManager.Config.Tests/Tests.cs @@ -430,4 +430,4 @@ public static Item Generate() SomeStrings = new List() { "Something", "more", "or", "less" } }; } -} \ No newline at end of file +}