test(grpc-data): H1 port fuzz holds every page to NumValuesPerNode, bounds included (review 6)

This commit is contained in:
Joseph Doherty
2026-11-23 19:45:14 -05:00
parent 7f32edf036
commit 561e6de52b
@@ -100,7 +100,7 @@ public sealed class HistoryReadPortPagingFuzzTests(HistoryReadPortServerFixture
{
portStatus.ShouldBe(StatusCodes.Good.Code, tag);
string.Join(" | ", portPages.SelectMany(p => p)).ShouldBe(string.Join(" | ", truth.Values), $"paged ≠ unpaged: {tag}");
if (n > 0) portPages.ShouldAllBe(p => p.Count <= n + (bounds ? 1 : 0), $"a page over N: {tag}");
if (n > 0) portPages.ShouldAllBe(p => p.Count <= n, $"a page over N (bounds count toward it, #736): {tag}");
Count("exact");
}