Add first test to thorw MovedDataException when receiving MOVED from a cluster node

This commit is contained in:
Marcos Nils
2013-12-07 17:55:17 -03:00
parent 46966fb89f
commit a8987ed865
7 changed files with 775 additions and 13 deletions

View File

@@ -1697,7 +1697,7 @@ public class BinaryJedis implements BasicCommands, BinaryJedisCommands, MultiKey
protected void checkIsInMulti() {
if (client.isInMulti()) {
throw new JedisDataException(
throw new JedisDataException(
"Cannot use Jedis when in Multi. Please use JedisTransaction instead.");
}
}