@@ -53,6 +53,7 @@ public void Redis_Extensions_WithClient()
5353 var client = ConnectionMultiplexer . Connect ( "localhost" ) ;
5454 var cache = CacheFactory . Build < string > (
5555 s => s
56+ . WithJsonSerializer ( )
5657 . WithRedisConfiguration ( configKey , client )
5758 . WithRedisCacheHandle ( configKey ) ) ;
5859
@@ -72,6 +73,7 @@ public void Redis_Extensions_WithClientWithDb()
7273 var client = ConnectionMultiplexer . Connect ( "localhost" ) ;
7374 var cache = CacheFactory . Build < string > (
7475 s => s
76+ . WithJsonSerializer ( )
7577 . WithRedisConfiguration ( configKey , client , 23 )
7678 . WithRedisCacheHandle ( configKey ) ) ;
7779
@@ -875,8 +877,8 @@ public async Task Redis_Sliding_DoesExpire_MultiClients()
875877 // arrange
876878 var item = new CacheItem < object > ( Guid . NewGuid ( ) . ToString ( ) , "something" , ExpirationMode . Sliding , TimeSpan . FromMilliseconds ( 100 ) ) ;
877879 var channelName = Guid . NewGuid ( ) . ToString ( ) ;
878- var cacheA = TestManagers . CreateRedisAndDicCacheWithBackplane ( 10 , true , channelName ) ;
879- var cacheB = TestManagers . CreateRedisAndDicCacheWithBackplane ( 10 , true , channelName ) ;
880+ var cacheA = TestManagers . CreateRedisAndDicCacheWithBackplane ( 10 , false , channelName ) ;
881+ var cacheB = TestManagers . CreateRedisAndDicCacheWithBackplane ( 10 , false , channelName ) ;
880882
881883 // act/assert
882884 using ( cacheA )
0 commit comments