diff --git a/crates/stemedb-cluster/tests/sharding_test.rs b/crates/stemedb-cluster/tests/sharding_test.rs index 96ef9d4..8dd7cf4 100644 --- a/crates/stemedb-cluster/tests/sharding_test.rs +++ b/crates/stemedb-cluster/tests/sharding_test.rs @@ -65,7 +65,7 @@ fn test_subject_routing_distribution() { // Each of 8 shards should have roughly 1250 subjects (12.5%) // 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 < 1750, "Shard has too many subjects: {count} (expected ~1250)"); }