Unverified Commit 15a048d4 authored by Roshan Khatri's avatar Roshan Khatri Committed by GitHub
Browse files

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: default avatarOran Agra <oran@redislabs.com>
parent 0ce74872
...@@ -168,7 +168,6 @@ run_solo {defrag} { ...@@ -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} { ...@@ -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} { ...@@ -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
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment