From c802f0e7ed687dfe81b183295fa1482b95edfb1f Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 9 Nov 2026 16:17:22 -0500 Subject: [PATCH] test(historian): wire test expects the Gateway's default aggregate set without TimeAverage/Total (lmxopcua#746) The H2 merge (0b85c499) stopped advertising native Gateway TimeAverage/Total until historiangw#27; it updated the Host test (4e76eeb5) but not AdvertisedAggregateFunctionsWireTests, which failed 2/7 on master. Claude-Session: https://claude.ai/code/session_01GT67AEHd2Acv1YPwGfXEoV --- .../AdvertisedAggregateFunctionsWireTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests/AdvertisedAggregateFunctionsWireTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests/AdvertisedAggregateFunctionsWireTests.cs index bcece177..33f0902b 100644 --- a/tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests/AdvertisedAggregateFunctionsWireTests.cs +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests/AdvertisedAggregateFunctionsWireTests.cs @@ -20,11 +20,11 @@ namespace ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests; /// public sealed class AdvertisedAggregateFunctionsWireTests { - // #681: the ten per-sample aggregates (raw-evaluated) + TimeAverage / Total (AVEVA-native). + // #681: the ten per-sample aggregates (raw-evaluated). AVEVA-native TimeAverage / Total are no longer advertised by + // default (lmxopcua#746 refuses them until historiangw#27 is fixed and verified; EnableNativeTimeWeighted=true restores them). private static readonly string[] GatewayNames = [ "Average", "Count", "Delta", "End", "Maximum", "MaximumActualTime", "Minimum", "MinimumActualTime", "Range", "Start", - "TimeAverage", "Total", ]; private static readonly string[] SqlNames =