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

Move away from nuspec for MSTest metapackage #4818

Merged
merged 11 commits into from
Feb 4, 2025

Ensure build asset of vstest is included when using MSTest metapackage

34e171d
Select commit
Loading
Failed to load commit list.
Merged

Move away from nuspec for MSTest metapackage #4818

Ensure build asset of vstest is included when using MSTest metapackage
34e171d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx succeeded Feb 4, 2025 in 33m 8s

Build #20250204.28 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 43,414 (100.00%)
  • Other: 0 (0.00%)
  • Total: 43,415
Code coverage

  • 151419 of 241107 blocks covered (62.80%)
  • 106564 of 169804 lines covered (62.76%)

Annotations

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.TimeoutTests.TestInitialize_WhenTimeoutExpires_TestInitializeIsCanceled_AttributeTakesPrecedence ("net462")

StringAssert.Contains failed. String 'MSTest v3.8.0-ci (UTC 2/4/2025) [x64 - .NET Framework 4.8.9294.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64) - Test1 (3s)
failed Test1 (2s 022ms)
  Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
Test run summary: Failed! - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\XHMzW\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
  total: 1
  failed: 1
  succeeded: 0
  skipped: 0
  duration: 4s 218ms' does not contain string 'Test initialize method 'TestClass.TestInit' timed out after 1000ms'. Expression 'AssertOutputContains' failed for member 'RunAndAssertWithRunSettingsAsync' at line 411 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs'. Output of the test host is:
Command: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\XHMzW\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\XHMzW\CodeWithOneSecTimeout\bin\Release\net462\900ed73788a740d7bee42411f4eae447.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.8.0-ci (UTC 2/4/2025) [x64 - .NET Framework 4.8.9294.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64) - Test1 (3s)
failed Test1 (2s 022ms)
  Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
Test run summary: Failed! - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\XHMzW\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
  total: 1
  failed: 1
  succeeded: 0
  skipped: 0
  duration: 4s 218ms
====================
StandardError:
.
Raw output
   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 88
   at MSTest.Acceptance.IntegrationTests.TimeoutTests.RunAndAssertWithRunSettingsAsync(String tfm, Int32 timeoutValue, Boolean assertAttributePrecedence, String entryKind) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs:line 411
   at MSTest.Acceptance.IntegrationTests.TimeoutTests.TestInitialize_WhenTimeoutExpires_TestInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs:line 171