From ed2a86c98f52ad72b9aed543ff7c1864b3226e01 Mon Sep 17 00:00:00 2001 From: christianEQ Date: Wed, 3 Feb 2021 19:13:53 +0000 Subject: [PATCH] removed bgsave test, not applicable to keydb pro Former-commit-id: d017c160662702ebcdbf063df239b907c2a193c5 --- tests/unit/other.tcl | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tests/unit/other.tcl b/tests/unit/other.tcl index 018b0d488..43b1e1870 100644 --- a/tests/unit/other.tcl +++ b/tests/unit/other.tcl @@ -257,23 +257,3 @@ start_server {tags {"other"}} { r save } {OK} } - -start_server {tags {"other"}} { - test {Don't rehash if redis has child proecess} { - r config set save "" - r config set rdb-key-save-delay 1000000 - - populate 4096 "" 1 - r bgsave - r mset k1 v1 k2 v2 - # Hash table should not rehash - assert_no_match "*table size: 8192*" [r debug HTSTATS 9] - exec kill -9 [get_child_pid 0] - after 200 - - # Hash table should rehash since there is no child process, - # size is power of two and over 4098, so it is 16384 - r set k3 v3 - assert_match "*table size: 16384*" [r debug HTSTATS 9] - } -}