Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the proxy and create the concrete TestApplicationResult #3907

Merged
merged 2 commits into from
Oct 3, 2024

update comment

4196616
Select commit
Loading
Failed to load commit list.
Merged

Remove the proxy and create the concrete TestApplicationResult #3907

update comment
4196616
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx succeeded Oct 3, 2024 in 25m 58s

Build #20241003.13 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 28,871 (100.00%)
  • Other: 0 (0.00%)
  • Total: 28,872
Code coverage

  • 115687 of 189589 blocks covered (61.02%)
  • 81868 of 135127 lines covered (60.59%)

Annotations

Check failure on line 1 in MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.TestInitialize_WhenTimeoutExpires_TestInitializeIsCanceled_AttributeTakesPrecedence (net462)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.TestInitialize_WhenTimeoutExpires_TestInitializeIsCanceled_AttributeTakesPrecedence (net462)

Expression 'testHostResult.StandardOutput.Contains(value, StringComparison.Ordinal)' failed for member 'RunAndAssertWithRunSettingsAsync' at line 402 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs'.
Output of the test host is:
Command: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\o8syj\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\o8syj\CodeWithOneSecTimeout\bin\Release\net462\700fc7de24b54c72b06c6539aa6eee31.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.7.0-ci (UTC 10/3/2024) [x64 - .NET Framework 4.8.9266.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64)(3s)
failed Test1 (2s 016ms)
  Test cleanup method 'TestClass.TestCleanupMethod' timed out after 1000ms
Test run summary: Failed! - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\o8syj\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
  total: 1
  failed: 1
  succeeded: 0
  skipped: 0
  duration: 3s 765ms
====================
StandardError:


Raw output
   at Microsoft.Testing.Internal.Framework.Assert.That(Boolean condition, String userMessage, String callerArgumentExpression, String callerMemberName, String callerFilePath, Int32 callerLineNumber) in /_/src/Microsoft.Testing.Internal.Framework/Assertions/Assert.cs:line 273
   at Microsoft.Testing.Platform.Acceptance.IntegrationTests.Helpers.AcceptanceAssert.AssertOutputContains(TestHostResult testHostResult, String value, String callerMemberName, String callerFilePath, Int32 callerLineNumber) in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs:line 98
   at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.RunAndAssertWithRunSettingsAsync(String tfm, Int32 timeoutValue, Boolean assertAttributePrecedence, String entryKind) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 402
   at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.TestInitialize_WhenTimeoutExpires_TestInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 152
   at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_InitializeAndCleanupTimeout.<>c.<<BuildAsync>b__3_53>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Debug/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.g.cs:line 1161