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"); }