From ead4a0a8a1c053f8395143d6fd03090f3afd91a6 Mon Sep 17 00:00:00 2001 From: pelijah Date: Thu, 16 May 2024 13:22:25 +0300 Subject: [PATCH] Trigger buckets reallocation --- test/unit/test_sdb_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/test_sdb_hash.c b/test/unit/test_sdb_hash.c index 0f54a1f5071..3af4f7270a5 100644 --- a/test/unit/test_sdb_hash.c +++ b/test/unit/test_sdb_hash.c @@ -560,7 +560,7 @@ bool test_insert_update_ex(void) { for (size_t i = 0; i < 100; ++i) { HtUUKv *tmp = NULL; - ht_uu_insert_ex(ht2, i, i + 200, &tmp); + ht_uu_insert_ex(ht2, 4 * i, i + 200, &tmp); mu_assert_notnull(tmp, "KV is set after rehashing"); mu_assert_eq(tmp->value, i + 200, "KV is valid after rehashing"); }