diff --git a/src/main/java/io/lettuce/core/cluster/ReadOnlyCommands.java b/src/main/java/io/lettuce/core/cluster/ReadOnlyCommands.java index 5bb32db0c5..579860c9df 100644 --- a/src/main/java/io/lettuce/core/cluster/ReadOnlyCommands.java +++ b/src/main/java/io/lettuce/core/cluster/ReadOnlyCommands.java @@ -54,7 +54,7 @@ public static Set getReadOnlyCommands() { enum CommandName { ASKING, BITCOUNT, BITPOS, CLIENT, COMMAND, DUMP, ECHO, EVAL, EVALSHA, EXISTS, // - GEODIST, GEOPOS, GEORADIUS, GEORADIUSBYMEMBER, GEOHASH, GET, GETBIT, // + GEODIST, GEOPOS, GEORADIUS, GEORADIUS_RO, GEORADIUSBYMEMBER, GEORADIUSBYMEMBER_RO, GEOHASH, GET, GETBIT, // GETRANGE, HEXISTS, HGET, HGETALL, HKEYS, HLEN, HMGET, HSCAN, HSTRLEN, // HVALS, INFO, KEYS, LINDEX, LLEN, LRANGE, MGET, PFCOUNT, PTTL, // RANDOMKEY, READWRITE, SCAN, SCARD, SCRIPT, // diff --git a/src/test/java/io/lettuce/core/cluster/ReadOnlyCommandsUnitTests.java b/src/test/java/io/lettuce/core/cluster/ReadOnlyCommandsUnitTests.java index 545e46aa55..453307908b 100644 --- a/src/test/java/io/lettuce/core/cluster/ReadOnlyCommandsUnitTests.java +++ b/src/test/java/io/lettuce/core/cluster/ReadOnlyCommandsUnitTests.java @@ -23,13 +23,15 @@ import io.lettuce.core.protocol.ProtocolKeyword; /** + * Tests for {@link ReadOnlyCommands}. + * * @author Mark Paluch */ class ReadOnlyCommandsUnitTests { @Test void testCount() { - assertThat(ReadOnlyCommands.getReadOnlyCommands()).hasSize(76); + assertThat(ReadOnlyCommands.getReadOnlyCommands()).hasSize(78); } @Test