com.pearson.ltg.ole.interceptor.RestInterceptorTest [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] RedisBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesNotEncryptedWhenEncryptionisDisabled:544 expected: but was:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591557856, LastAccessTime = 1552591557856 ]> [ERROR] RedisBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyGetDecryptsItemsRetrievedFromRemoteCacheWhenEncryptionEnabled:158 expected:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591558209, LastAccessTime = 0 ]> but was: [ERROR] RedisBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyGetPopulatesLocalCacheWhenThereIsARemoteHit:117 expected:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591557444, LastAccessTime = 0 ]> but was: [ERROR] RedisBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyGetPutsItemInLocalCacheAfterUpdatingNamespaceVersion:202 expected:<[ key = updatedVersionKey, value=updatedVersionValue, version=1, hitCount=0, CreationTime = 1552591558157, LastAccessTime = 0 ]> but was: [ERROR] RedisBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyGetReturnsRequestedItemFromRemoteCache:110 verifying we get the requested item from remote cache [ERROR] RedisClusterBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesNotEncryptedWhenEncryptionisDisabled:544 expected: but was:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591556717, LastAccessTime = 1552591556717 ]> [ERROR] RedisClusterBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyGetDecryptsItemsRetrievedFromRemoteCacheWhenEncryptionEnabled:158 expected:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591557085, LastAccessTime = 0 ]> but was: [ERROR] RedisClusterBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyGetPopulatesLocalCacheWhenThereIsARemoteHit:117 expected:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591556478, LastAccessTime = 0 ]> but was: [ERROR] RedisClusterBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyGetPutsItemInLocalCacheAfterUpdatingNamespaceVersion:202 expected:<[ key = updatedVersionKey, value=updatedVersionValue, version=1, hitCount=0, CreationTime = 1552591557017, LastAccessTime = 0 ]> but was: [ERROR] RedisClusterBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyGetReturnsRequestedItemFromRemoteCache:110 verifying we get the requested item from remote cache [ERROR] RedisCacheTendingServiceTest.setupKeysToBeTended:266 Values should be different. Actual: [ key = ABean.getUser(0,), value=com.pearson.ltg.ole.util.cache.CachePayload@29ba90ab, version=1, hitCount=0, CreationTime = 1552591565164, LastAccessTime = 1552591565164 ] [ERROR] RedisCacheTendingServiceTest.testRefreshItemsLessThan100BeforeExpired:233 redisCommands.hmset(, ); Wanted 100 times: -> at com.pearson.ltg.ole.util.cache.RedisCacheTendingServiceTest.testRefreshItemsLessThan100BeforeExpired(RedisCacheTendingServiceTest.java:233) But was 50 times: -> at com.pearson.ltg.ole.util.RedisBackedEhcache.putInRediscache(RedisBackedEhcache.java:252) [ERROR] RedisCacheTendingServiceTest.testRefreshItemsMoreThan100BeforeExpired:194 redisCommands.hmset(, ); Wanted 240 times: -> at com.pearson.ltg.ole.util.cache.RedisCacheTendingServiceTest.testRefreshItemsMoreThan100BeforeExpired(RedisCacheTendingServiceTest.java:194) But was 120 times: -> at com.pearson.ltg.ole.util.RedisBackedEhcache.putInRediscache(RedisBackedEhcache.java:252) [ERROR] RedisCacheTendingServiceTest.testRefreshItemsMoreThanOneCache:220 redisCommands.hmset(, ); Wanted 40 times: -> at com.pearson.ltg.ole.util.cache.RedisCacheTendingServiceTest.testRefreshItemsMoreThanOneCache(RedisCacheTendingServiceTest.java:220) But was 20 times: -> at com.pearson.ltg.ole.util.RedisBackedEhcache.putInRediscache(RedisBackedEhcache.java:252) [ERROR] RedisCacheTendingServiceTest.testRefreshItemsOnlyKeysReturnedAsTended:252->verifyPutAndGetForKeys:357 redisCommands.hmset( "RRU1_ABean.getUser%280%2C%29", ); Wanted 2 times: -> at com.pearson.ltg.ole.util.cache.RedisCacheTendingServiceTest.verifyPutAndGetForKeys(RedisCacheTendingServiceTest.java:357) But was 1 time: -> at com.pearson.ltg.ole.util.RedisBackedEhcache.putInRediscache(RedisBackedEhcache.java:252) [ERROR] RedisCacheTendingServiceTest.testToPutUpdatedItemIntoTheCache:279 Values should be different. Actual: [ key = ABean.getUser(0,), value=com.pearson.ltg.ole.util.cache.CachePayload@46c40836, version=1, hitCount=0, CreationTime = 1552591564756, LastAccessTime = 1552591564756 ] [ERROR] RedisCacheTendingServiceTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesNotEncryptedWhenEncryptionisDisabled:544 expected: but was:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591565935, LastAccessTime = 1552591565936 ]> [ERROR] RedisCacheTendingServiceTest>AbstractEhcacheDecoratorAdapterTest.verifyGetDecryptsItemsRetrievedFromRemoteCacheWhenEncryptionEnabled:158 expected:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591566548, LastAccessTime = 0 ]> but was: [ERROR] RedisCacheTendingServiceTest>AbstractEhcacheDecoratorAdapterTest.verifyGetPopulatesLocalCacheWhenThereIsARemoteHit:117 expected:<[ key = testKey, value=testKey, version=1, hitCount=0, CreationTime = 1552591565641, LastAccessTime = 0 ]> but was: [ERROR] RedisCacheTendingServiceTest>AbstractEhcacheDecoratorAdapterTest.verifyGetPutsItemInLocalCacheAfterUpdatingNamespaceVersion:202 expected:<[ key = updatedVersionKey, value=updatedVersionValue, version=1, hitCount=0, CreationTime = 1552591566472, LastAccessTime = 0 ]> but was: [ERROR] RedisCacheTendingServiceTest>AbstractEhcacheDecoratorAdapterTest.verifyGetReturnsRequestedItemFromRemoteCache:110 verifying we get the requested item from remote cache [ERROR] Errors: [ERROR] RedisBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesAreNotDoublyDecrypted:536 » NullPointer [ERROR] RedisBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesAreNotDoublyEncrypted:525->AbstractEhcacheDecoratorAdapterTest.decryptElement:581 » ClassCast [ERROR] RedisBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyPutEncryptsObjectsSentToRemoteCacheWithEncryptionEnabled:237->AbstractEhcacheDecoratorAdapterTest.decryptElement:581 » ClassCast [ERROR] RedisClusterBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesAreNotDoublyDecrypted:536 » NullPointer [ERROR] RedisClusterBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesAreNotDoublyEncrypted:525->AbstractEhcacheDecoratorAdapterTest.decryptElement:581 » ClassCast [ERROR] RedisClusterBackedEhcacheTest>AbstractEhcacheDecoratorAdapterTest.verifyPutEncryptsObjectsSentToRemoteCacheWithEncryptionEnabled:237->AbstractEhcacheDecoratorAdapterTest.decryptElement:581 » ClassCast [ERROR] RedisCacheTendingServiceTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesAreNotDoublyDecrypted:536 » NullPointer [ERROR] RedisCacheTendingServiceTest>AbstractEhcacheDecoratorAdapterTest.verifyEntriesAreNotDoublyEncrypted:525->AbstractEhcacheDecoratorAdapterTest.decryptElement:581 » ClassCast [ERROR] RedisCacheTendingServiceTest>AbstractEhcacheDecoratorAdapterTest.verifyPutEncryptsObjectsSentToRemoteCacheWithEncryptionEnabled:237->AbstractEhcacheDecoratorAdapterTest.decryptElement:581 » ClassCast [INFO] [ERROR] Tests run: 6325, Failures: 21, Errors: 9, Skipped: 7 [INFO] [ERROR] There are test failures.