From fddab4eccc929c07d730045022af5699dfb9d298 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 17 Sep 2025 07:47:14 +0800 Subject: [PATCH] Don't assert on false positives in bloom filter tests -_- --- ds/set/bloom_siphash/test.ha | 2 +- diff --git a/ds/set/bloom_siphash/test.ha b/ds/set/bloom_siphash/test.ha index 00d5787bccdf3f54627d1945fdca4ec1c60c2238..c63c6f2326cc4486404c7dd50b903702d0582536 100644 --- a/ds/set/bloom_siphash/test.ha +++ b/ds/set/bloom_siphash/test.ha @@ -58,7 +58,7 @@ }; for (let i = 0z; i < len(missing); i += 1) { let key = put_le64(&buf, missing[i]); - assert(!set::contains(iface, key), "bloom_siphash: false positive"); + // False positives are fine it's a bloom filter }; }; }; -- 2.48.1