Certificate manager and ref counted certificate type - #3688
Merged
Azure Pipelines / OPCFoundation.UA-.NETStandard
succeeded
May 12, 2026 in 11m 24s
Build #1.6.265-preview+cbd5de8e41 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 76,634 (97.55%)
- Other: 1,924 (2.45%)
- Total: 78,559
Annotations
azure-pipelines / OPCFoundation.UA-.NETStandard
Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable
Every Certificate instance materialised during GetIssuersAsync must be disposable by the caller (no orphaned refcount).
Assert.That(disposedDelta, Is.EqualTo(createdDelta))
Expected: 2
But was: 1
Raw output
at Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable() in /_/Tests/Opc.Ua.Core.Tests/Security/Certificates/CertificateManager/CertificateManagerTests.cs:line 538
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
1) at Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable() in /_/Tests/Opc.Ua.Core.Tests/Security/Certificates/CertificateManager/CertificateManagerTests.cs:line 538
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable()
Loading