test(grpc-data): H1 port fuzz holds every page to NumValuesPerNode, bounds included (review 6)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user