Skip to content

Commit 85e5a4e

Browse files
authored
PS cosmos db restore command: Skipping client side restore validation check (#28171)
1 parent cf428f6 commit 85e5a4e

20 files changed

+12260
-9115
lines changed

src/CosmosDB/CosmosDB.Test/ScenarioTests/RestoreTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ public RestoreTests(Xunit.Abstractions.ITestOutputHelper output): base(output)
2323
{
2424
}
2525

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

33-
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
33+
[Fact]
3434
[Trait(Category.AcceptanceType, Category.CheckIn)]
3535
public void TestSqlRestoreAccountPublicNetworkAccessCmdlets()
3636
{
@@ -65,21 +65,21 @@ public void TestRestoreFailuresAccountCmdlets()
6565
TestRunner.RunTestScript("Test-RestoreFailuresAccountCmdlets");
6666
}
6767

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

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

82-
[Fact(Skip = "Output of DateTime.ToString() is different in MacOs.")]
82+
[Fact]
8383
[Trait(Category.AcceptanceType, Category.CheckIn)]
8484
public void TestTableRestoreAccountCmdlets()
8585
{

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestGremlinGraphBackupInformationCmdLets.json

Lines changed: 319 additions & 397 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestGremlinRestoreAccountCmdlets.json

Lines changed: 856 additions & 722 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestGremlinRestoreFromNewAccountCmdlets.json

Lines changed: 774 additions & 723 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestMongoDBCollectionBackupInformationCmdLets.json

Lines changed: 319 additions & 397 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestMongoDBRestoreFromNewAccountCmdlets.json

Lines changed: 587 additions & 872 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestMongoRestoreAccountCmdlets.json

Lines changed: 290 additions & 308 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestProvisionCosmosDBAccountBackupPolicyWithContinuous7DaysCmdLets.json

Lines changed: 137 additions & 119 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestRestoreFailuresAccountCmdlets.json

Lines changed: 2015 additions & 56 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.RestoreTests/TestSqlContainerBackupInformationCmdLets.json

Lines changed: 319 additions & 331 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)