valkey/tests
sundb a1589c3769 Re-enable hash downsize rehashing during fork (partial #12276)
This was introduced by the recent change in #11692 which prevented a
down-sizing rehashing while there is a fork.

## Solution
1. Fix the rehashing code, so that the same as it allows rehashing for up-sizing
  during fork when the ratio is extreme, it will allow it for down-sizing as well.

Co-authored-by: Oran Agra <oran@redislabs.com>

This is a partial cherry pick of:
(cherry picked from commit b00a235186)
(cherry picked from commit d4c37320382edb342292a3e30250d46896a12016)
2023-07-10 14:37:46 +03:00
..
assets Tests: Add aclfile load and save tests (#7765) 2020-09-10 14:09:00 +03:00
cluster fix race in cluster transactions test (#8312) 2021-01-12 16:25:37 +02:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration fflush stdout after responses partial backport from (#9136) 2023-01-17 14:59:41 +02:00
modules Fix test modules build issue on OS X 11. (#9658) 2023-01-17 14:59:41 +02:00
sentinel Recalculate hardcoded variables from $::instances_count in sentinel tests (#7561) 2020-10-27 09:12:01 +02:00
support Re-enable hash downsize rehashing during fork (partial #12276) 2023-07-10 14:37:46 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Re-enable hash downsize rehashing during fork (partial #12276) 2023-07-10 14:37:46 +03:00
instances.tcl Allow blocked XREAD on a cluster replica (#7881) 2020-10-27 09:12:01 +02:00
test_helper.tcl Add a --no-latency tests flag. (#7939) 2020-10-27 09:12:01 +02:00