Repository navigation
Follow-up to #8386: address review comments on TestContext.Properties flow - #8396
Merged
Amaury Levé (Evangelink) merged 9 commits intoMay 22, 2026
Azure Pipelines / microsoft.testfx (Build Linux Debug)
failed
May 20, 2026 in 14m 3s
Build Linux Debug failed
Annotations
azure-pipelines / microsoft.testfx (Build Linux Debug)
test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TestContextPropertyFlowTests.cs#L230
test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TestContextPropertyFlowTests.cs(230,1): error : ForceCleanupSeesAssemblyAndClassInitProperties ("net10.0") [net11.0]
Assertion failed. Expected string to contain the specified substring.
expected substring: "FORCECLEANUP_CLASSCLEANUP_OK"
actual: "MSTest v4.3.0-ci (UTC 05/20/2026) [linux-x64 - .NET 10.0.8]\nfailed TestA_Fails (32ms)\n Assertion failed.\n intentional fail to trigger graceful stop\n at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message) in /_/src/TestFramework/TestFramework/Assertions/Assert.Fail.cs:30\n at ForceCleanupFlowTests.TestA_Fails() in /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/5lPgA/TestContextPropertyFlowForceCleanup/UnitTest1.cs:21\n at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\nTest session is aborting due to reaching failures ('1') specified by the '--maximum-failed-tests' option.\nTest run summary: Failed! - /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/5lPgA/TestContextPropertyFlowForceCleanup/bin/Release/net10.0/TestContextPropertyFlowForceCleanup.dll (net10.0|x64)\n total: 3\n failed: 1\n succeeded: 2\n skipped: 0\n duration: 325ms"
comparison: Ordinal
Assert.Contains(ClassCleanupMarker, testHostResult.StandardOutput)
Check failure on line 8082 in Build log
azure-pipelines / microsoft.testfx (Build Linux Debug)
Build log #L8082
Bash exited with code '2'.
Loading