From 561e6de52bc99f8e87361128888030940482667a Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 23 Nov 2026 19:45:14 -0500 Subject: [PATCH] test(grpc-data): H1 port fuzz holds every page to NumValuesPerNode, bounds included (review 6) --- .../HistoryReadPortPagingFuzzTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests/HistoryReadPortPagingFuzzTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests/HistoryReadPortPagingFuzzTests.cs index f084e34fb..8eca6ee8e 100644 --- a/tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests/HistoryReadPortPagingFuzzTests.cs +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests/HistoryReadPortPagingFuzzTests.cs @@ -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"); }