Skip to content

Commit

Permalink
Polishing #2146
Browse files Browse the repository at this point in the history
  • Loading branch information
mp911de committed Jul 12, 2022
1 parent 242387e commit d83d409
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ void testClusterRedirection() {
for (RedisClusterNode partition : partitions) {
partition.setSlots(Collections.emptyList());
if (partition.getFlags().contains(RedisClusterNode.NodeFlag.MYSELF)) {
partition.getFlags().add(RedisClusterNode.NodeFlag.UPSTREAM);
partition.setSlots(IntStream.range(0, SlotHash.SLOT_COUNT).boxed().collect(Collectors.toList()));
}
}
Expand Down

0 comments on commit d83d409

Please sign in to comment.