mirror of https://mirror.osredm.com/root/redis.git
re-enable defrag tests in cluster mode. (#12710)
Reverts the skipping defrag tests in cluster mode (done in #12672. instead it skips only some defrag tests that are relevant for cluster modes. The test now run well after investigating and making the changes in #12674 and #12694. Co-authored-by: Oran Agra <oran@redislabs.com>
This commit is contained in:
parent
0ce74872c4
commit
15a048d4f0
|
@ -168,7 +168,6 @@ run_solo {defrag} {
|
||||||
r config set appendonly no
|
r config set appendonly no
|
||||||
r config set key-load-delay 0
|
r config set key-load-delay 0
|
||||||
|
|
||||||
if {$type eq "standalone"} {
|
|
||||||
test "Active defrag eval scripts: $type" {
|
test "Active defrag eval scripts: $type" {
|
||||||
r flushdb
|
r flushdb
|
||||||
r script flush sync
|
r script flush sync
|
||||||
|
@ -396,6 +395,7 @@ run_solo {defrag} {
|
||||||
r save ;# saving an rdb iterates over all the data / pointers
|
r save ;# saving an rdb iterates over all the data / pointers
|
||||||
} {OK}
|
} {OK}
|
||||||
|
|
||||||
|
if {$type eq "standalone"} { ;# skip in cluster mode
|
||||||
test "Active defrag big list: $type" {
|
test "Active defrag big list: $type" {
|
||||||
r flushdb
|
r flushdb
|
||||||
r config resetstat
|
r config resetstat
|
||||||
|
@ -607,7 +607,7 @@ run_solo {defrag} {
|
||||||
assert {$digest eq $newdigest}
|
assert {$digest eq $newdigest}
|
||||||
r save ;# saving an rdb iterates over all the data / pointers
|
r save ;# saving an rdb iterates over all the data / pointers
|
||||||
}
|
}
|
||||||
}
|
} ;# standalone
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue