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

Skip the Test Cases Which Fail Because of DateTime.String() Output on MacOS #26425

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .azure-pipelines/powershell-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ variables:
LinuxAgentPoolVMImage: ''
MacOSName: macOS
MacOSAgentPoolName: 'Azure Pipelines'
MacOSAgentPoolVMImage: macOS-13
MacOSAgentPoolVMImage: macOS-latest
TestFramework: net6.0
TestTarget: Test
Configuration: Debug
Expand Down
10 changes: 5 additions & 5 deletions src/CosmosDB/CosmosDB.Test/ScenarioTests/RestoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ public RestoreTests(Xunit.Abstractions.ITestOutputHelper output): base(output)
{
}

[Fact]
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSqlRestoreAccountCmdlets()
{
TestRunner.RunTestScript("Test-SqlRestoreAccountCmdlets");
}

[Fact]
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSqlRestoreAccountPublicNetworkAccessCmdlets()
{
Expand Down Expand Up @@ -65,21 +65,21 @@ public void TestRestoreFailuresAccountCmdlets()
TestRunner.RunTestScript("Test-RestoreFailuresAccountCmdlets");
}

[Fact]
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGremlinRestoreAccountCmdlets()
{
TestRunner.RunTestScript("Test-GremlinRestoreAccountCmdlets");
}

[Fact]
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGremlinRestoreFromNewAccountCmdlets()
{
TestRunner.RunTestScript("Test-GremlinRestoreFromNewAccountCmdlets");
}

[Fact]
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestTableRestoreAccountCmdlets()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ public void TestTableMigrateThroughputCmdlets()
TestRunner.RunTestScript("Test-TableMigrateThroughputCmdlets");
}

[Fact]
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestTableInAccountCoreFunctionalityNoTimestampBasedRestoreCmdletsV2()
{
TestRunner.RunTestScript("Test-TableInAccountCoreFunctionalityNoTimestampBasedRestoreCmdletsV2");
}

[Fact]
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestTableInAccountRestoreOperationsCmdlets()
{
Expand Down