test(historian): wire test expects the Gateway's default aggregate set without TimeAverage/Total (lmxopcua#746)
v2-ci / unit-tests (push) Has been cancelled

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
This commit is contained in:
Joseph Doherty
2026-11-09 16:17:22 -05:00
parent 80481529e0
commit c802f0e7ed
@@ -20,11 +20,11 @@ namespace ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests;
/// </summary>
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 =