Skip to content

Commit

Permalink
[fix] rm flushdb operation
Browse files Browse the repository at this point in the history
  • Loading branch information
VCgege committed Nov 1, 2024
1 parent 2560ff8 commit 1e31b1c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion tests/swap/integration/rordb.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ start_server {tags {"rordb replication"} overrides {}} {
assert_equal [$slave bitcount mybitmap2] {5}

assert_equal [object_meta_pure_cold_subkeys_num $slave mybitmap3] 6
$master flushdb

}

Expand Down
1 change: 0 additions & 1 deletion tests/swap/integration/type_error.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -555,5 +555,4 @@ start_server {tags {"repl"}} {

}
}
r flushdb
}
1 change: 0 additions & 1 deletion tests/swap/unit/bitmap.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2206,7 +2206,6 @@ start_server {tags {"bitmap chaos test"} overrides {save ""}} {
assert_equal $master_digest $slave_digest
}
}
# $master flushdb
}
}
}
8 changes: 0 additions & 8 deletions tests/swap/unit/ttl_compact.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ start_server {tags {"ttl compact 1"}
set compact_times [get_info_property r Swap swap_ttl_compact times]
assert_equal $compact_times 0
}
r flushdb
}

start_server {tags {"ttl compact 2"}
Expand Down Expand Up @@ -88,7 +87,6 @@ start_server {tags {"ttl compact 2"}
set sst_age_limit [get_info_property r Swap swap_ttl_compact sst_age_limit]
assert_range $sst_age_limit 900000 1000000
}
r flushdb
}

start_server {tags {"ttl compact 3"}
Expand Down Expand Up @@ -150,7 +148,6 @@ start_server {tags {"ttl compact 3"}
set compact_times [get_info_property r Swap swap_ttl_compact times]
assert_range $compact_times 0 3
}
r flushdb
}

start_server {tags {"ttl compact 4"}
Expand Down Expand Up @@ -180,12 +177,9 @@ start_server {tags {"ttl compact 4"}
# stop sst-age-limit refresh
r config set swap-sst-age-limit-refresh-period 3600

r flushdb

set sst_age_limit [get_info_property r Swap swap_ttl_compact sst_age_limit]
assert_equal $sst_age_limit 0
}
r flushdb
}

start_server {tags {"ttl compact 5"}
Expand Down Expand Up @@ -228,7 +222,6 @@ start_server {tags {"ttl compact 5"}
set compact_times [get_info_property r Swap swap_ttl_compact times]
assert_equal $compact_times 0
}
r flushdb
}

start_server {tags {"master propagate expire test"} overrides {save ""}} {
Expand Down Expand Up @@ -261,5 +254,4 @@ start_server {tags {"master propagate expire test"} overrides {save ""}} {
assert_equal $sst_age_limit1 $sst_age_limit2
}
}
r flushdb
}

0 comments on commit 1e31b1c

Please sign in to comment.