fix: clippy for_kv_map lint in sharding integration test

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jordan 2026-02-02 20:58:22 -07:00
parent afed95fe26
commit 7ae0adaba4

View File

@ -65,7 +65,7 @@ fn test_subject_routing_distribution() {
// Each of 8 shards should have roughly 1250 subjects (12.5%) // Each of 8 shards should have roughly 1250 subjects (12.5%)
// Allow 40% variance for small sample // Allow 40% variance for small sample
for (_shard, count) in &shard_counts { for count in shard_counts.values() {
assert!(*count > 750, "Shard has too few subjects: {count} (expected ~1250)"); assert!(*count > 750, "Shard has too few subjects: {count} (expected ~1250)");
assert!(*count < 1750, "Shard has too many subjects: {count} (expected ~1250)"); assert!(*count < 1750, "Shard has too many subjects: {count} (expected ~1250)");
} }