Skip to content

Commit dd55235

Browse files
committed
Polishing
Ensure empty keyspace in tests where needed.
1 parent 87b680a commit dd55235

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/io/lettuce/core/cluster/RedisClusterClientIntegrationTests.java

+4
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,8 @@ void readOnlyOnCluster() {
575575
@Test
576576
void getKeysInSlot() {
577577

578+
sync.flushall();
579+
578580
sync.set(ClusterTestSettings.KEY_A, value);
579581
sync.set(ClusterTestSettings.KEY_B, value);
580582

@@ -589,6 +591,8 @@ void getKeysInSlot() {
589591
@Test
590592
void countKeysInSlot() {
591593

594+
sync.flushall();
595+
592596
sync.set(ClusterTestSettings.KEY_A, value);
593597
sync.set(ClusterTestSettings.KEY_B, value);
594598

0 commit comments

Comments
 (0)