[TINY] Skip SQL Server memory-optimized migration tests on Mac#37648
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates SQL Server migrations functional tests to skip a subset of memory-optimized migration tests on macOS, working around the SQL Server crash described in #37647.
Changes:
- Add
PlatformSkipCondition(TestPlatform.Mac)to several memory-optimized migration tests inMigrationsSqlServerTest. - Add the required
Microsoft.EntityFrameworkCore.TestUtilities.Xunitimport for the new skip attribute.
| } | ||
|
|
||
| [ConditionalFact, SqlServerCondition(SqlServerCondition.SupportsMemoryOptimized)] | ||
| [PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac)] // TODO: see #37647 |
There was a problem hiding this comment.
Consider setting SkipReason on PlatformSkipCondition (e.g. mentioning #37647 and the SQL Server crash under Rosetta). Otherwise the test runner will report the generic default skip reason and the inline // TODO comment won’t show up in CI results.
| [PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac)] // TODO: see #37647 | |
| [PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac, SkipReason = "SQL Server crashes under Rosetta (#37647).")] // TODO: see #37647 |
| } | ||
|
|
||
| [ConditionalFact, SqlServerCondition(SqlServerCondition.SupportsMemoryOptimized)] | ||
| [PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac)] // TODO: see #37647 |
There was a problem hiding this comment.
Consider setting SkipReason on PlatformSkipCondition (e.g. mentioning #37647 and the SQL Server crash under Rosetta). Otherwise the test runner will report the generic default skip reason and the inline // TODO comment won’t show up in CI results.
| [PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac)] // TODO: see #37647 | |
| [PlatformSkipCondition( | |
| TestUtilities.Xunit.TestPlatform.Mac, | |
| SkipReason = "See #37647: SQL Server crash under Rosetta on macOS")] |
| } | ||
|
|
||
| [ConditionalFact, SqlServerCondition(SqlServerCondition.SupportsMemoryOptimized)] | ||
| [PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac)] // TODO: see #37647 |
There was a problem hiding this comment.
Consider setting SkipReason on PlatformSkipCondition (e.g. mentioning #37647 and the SQL Server crash under Rosetta). Otherwise the test runner will report the generic default skip reason and the inline // TODO comment won’t show up in CI results.
| [PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac)] // TODO: see #37647 | |
| [PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac, SkipReason = "See #37647 - SQL Server crashes under Rosetta on macOS.")] |
cf8074e to
ebf3c3d
Compare

See #37647