From e1e1c969ff73b2f4a42449577635f4ffd8aa8554 Mon Sep 17 00:00:00 2001 From: Johannes Edmeier Date: Mon, 20 Jun 2022 13:16:41 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc308ec..a2af764 100644 --- a/README.md +++ b/README.md @@ -37,14 +37,14 @@ public class RedisBackedCacheIntTest { @Test public void testFindingAnInsertedValue() { - cache.put("foo", "FOO"); + underTest.put("foo", "FOO"); Optional foundObject = Steadybit.networkDelayPackages(Duration.ofSeconds(2)) .forContainers(redis) .exec(() -> { //this code runs after the attack was started. //As soon as this lambda exits the attack will be stopped. - return cache.get("foo", String.class); + return underTest.get("foo", String.class); }); assertTrue("When an object in the cache is retrieved, it can be found", foundObject.isPresent());