diff --git a/src/test/java/redis/clients/jedis/tests/commands/TransactionCommandsTest.java b/src/test/java/redis/clients/jedis/tests/commands/TransactionCommandsTest.java index ca43163..715ed88 100644 --- a/src/test/java/redis/clients/jedis/tests/commands/TransactionCommandsTest.java +++ b/src/test/java/redis/clients/jedis/tests/commands/TransactionCommandsTest.java @@ -10,8 +10,10 @@ import org.junit.Test; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisException; +import redis.clients.jedis.Protocol; import redis.clients.jedis.Transaction; import redis.clients.jedis.TransactionBlock; +import redis.clients.jedis.tests.JedisTest; public class TransactionCommandsTest extends JedisCommandTestBase { Jedis nj; @@ -102,8 +104,9 @@ public class TransactionCommandsTest extends JedisCommandTestBase { t.set("mykey", val); List resp = t.exec(); List expected = new ArrayList(); - expected.add("OK"); - assertEquals(expected, resp); + expected.add("OK".getBytes(Protocol.UTF8)); + JedisTest.isListAreEquals(expected, resp); +// assertEquals(expected, resp); } @Test(expected = JedisException.class)