From 593fccc234ed7061f02d38b00066670bfe645f02 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Wed, 3 Jan 2024 17:13:32 +0300 Subject: [PATCH] test fixed --- redisson/src/test/java/org/redisson/RedissonFunctionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redisson/src/test/java/org/redisson/RedissonFunctionTest.java b/redisson/src/test/java/org/redisson/RedissonFunctionTest.java index f7f2bdb3e..54a7a593e 100644 --- a/redisson/src/test/java/org/redisson/RedissonFunctionTest.java +++ b/redisson/src/test/java/org/redisson/RedissonFunctionTest.java @@ -54,7 +54,7 @@ public class RedissonFunctionTest extends RedisDockerTest { testMap.put("i", "j"); testMap.put("k", "l"); - RFunction f = redisson.getFunction(); + RFunction f = r.getFunction(); f.flush(); f.load("lib", "redis.register_function('myfun', function(keys, args) return args[1] end)"); @@ -65,7 +65,7 @@ public class RedissonFunctionTest extends RedisDockerTest { throw new RuntimeException(e); } - RBatch batch = redisson.createBatch(); + RBatch batch = r.createBatch(); RFunctionAsync function = batch.getFunction(); for (Map.Entry property : testMap.entrySet()) { List key = Collections.singletonList(property.getKey());