Skip to content

Tests: cover generation-owned historian overrides - #5004

Closed
marcschier wants to merge 1 commit into
marcschier-nodemanager-redesign-e24from
followup-n3-historian-test
Closed

marcschier wants to merge 1 commit into
marcschier-nodemanager-redesign-e24from
followup-n3-historian-test

Conversation

@marcschier

Copy link
Copy Markdown
Collaborator

Description

Adds the missing N3 regression coverage for explicit historian registrations when historization retains bindings owned by a predecessor generation. The four cases cover plain and generation-owned serving bindings, with explicit registration both before and after historization. Each case checks exact-node, namespace and default scopes, confirms the serving registry is unchanged before publication, and verifies the explicit registrations after publication. The production registration-order behavior is already present in #4982; this PR changes tests only.

The identical test change passed in focused Opc.Ua.Server.Tests runs on the preceding #4982 head: 59/59 on net10.0 and 58/58 on net48. Those runs included the cache, subscriber and staged-historian test filters. A short-path AMB check on the current base was interrupted at the quiet-window deadline before producing a TRX; it provides no test result. Full UA.slnx qualification has not completed.

Related Issues

Relates to #4982; this is the N3 regression-test follow-up for that change.

If this is a relatively large or complex change, a design must have been discussed in the related tracking issue and signed off (which becomes the Architectural Decision Record (ADR)).

Checklist

Put an x in the boxes that apply. You can complete these step by step after opening the PR.

  • I have signed the CLA and read the CONTRIBUTING doc.
  • I have added tests that prove my fix is effective or that my feature works and increased code coverage.
  • I have added all necessary documentation.
  • I have verified that my changes do not introduce (new) build or analyzer warnings.
  • If this PR changes C# source files, I ran all tests locally using the UA.slnx solution against at least .NET Framework and .NET 10, and all passed. PRs changing only non-C# files do not require these .NET test runs.
  • I fixed all failing and flaky tests in the CI pipelines and all CodeQL warnings.
  • I have addressed all PR feedback received.

@marcschier

Copy link
Copy Markdown
Collaborator Author

Superseded by #5011. #4982 was squash-merged, and the rebased follow-up branch already contains this historian override test change unchanged (commit 8978fe7).

@marcschier marcschier closed this Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant