Skip to content
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 src/Sql/Sql.Test/ScenarioTests/DatabaseActivationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public DatabaseActivationTests(ITestOutputHelper output) : base(output)
};
}

[Fact]
[Fact(Skip = "The test takes the longest time to run. Skip it to workaround timeout temporarily.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestDatabasePauseResume()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Sql/Sql/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* Added cmdlet `New-AzSqlDatabaseImportExisting`
* Updated Databases cmdlets to support backup storage type specification
* Added Force parameter to `New-AzSqlDatabase`
* Added warning for BackupStorageRedundancy configuration in select regions in `New-AzSqlDatabase`
* Added warning for BackupStorageRedundancy configuration in select regions in `New-AzSqlDatabase` (Ignore Case for BackupStorageRedundancy configuration input)
* Updated ActiveDirectoryOnlyAuthentication cmdlets for server and instance to include ResourceId and InputObject

## Version 2.9.1
Expand Down
2 changes: 1 addition & 1 deletion src/Sql/Sql/Database/Cmdlet/NewAzureSqlDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public class NewAzureSqlDatabase : AzureSqlDatabaseCmdletBase<AzureSqlDatabaseCr
/// </summary>
[Parameter(Mandatory = false,
HelpMessage = "The Backup storage redundancy used to store backups for the SQL Database. Options are: Local, Zone and Geo.")]
[ValidateSet("Local", "Zone", "Geo")]
[ValidateSet("Local", "Zone", "Geo", IgnoreCase = false)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a breaking change for me, do you want to release this in October major release?

Copy link
Contributor Author

@xaliciayang xaliciayang Sep 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like this to go as soon as possible; this is added to a parameter, BackupStorageRedundancy, that was only introduced in the last milestone (introduced in S175 (2020-09-22) Ignite), that was never used previously. I left a comment above explaining the need to add this change. @dingmeng-xue and @msJinLei have reviewed my previous changes that this belongs to.

I will add change log too.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merged by mistake, the change log should under upcoming release, I'll make another PR to fix it

public string BackupStorageRedundancy { get; set; }

protected static readonly string[] ListOfRegionsToShowWarningMessageForGeoBackupStorage = { "eastasia", "southeastasia", "brazilsouth", "east asia", "southeast asia", "brazil south" };
Expand Down