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:
Roshan Khatri 2023-11-02 04:55:48 -07:00 committed by GitHub
parent 0ce74872c4
commit 15a048d4f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,6 @@ run_solo {defrag} {
r config set appendonly no
r config set key-load-delay 0
if {$type eq "standalone"} {
test "Active defrag eval scripts: $type" {
r flushdb
r script flush sync
@ -396,6 +395,7 @@ run_solo {defrag} {
r save ;# saving an rdb iterates over all the data / pointers
} {OK}
if {$type eq "standalone"} { ;# skip in cluster mode
test "Active defrag big list: $type" {
r flushdb
r config resetstat
@ -607,7 +607,7 @@ run_solo {defrag} {
assert {$digest eq $newdigest}
r save ;# saving an rdb iterates over all the data / pointers
}
}
} ;# standalone
}
}
}