Acctest
- fix mysql
RP test case failures
#28882
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR fixes the following test case failures in Teamcity:
TestAccMySqlFlexibleServer_pitr
andTestAccMySqlFlexibleServer_updateReplicationRole
fail with the following error, ignore_changessource_server_id
because API does not return its value whencreate_mode
isPointInTimeRestore
/Replica
.TestAccDataSourceMySqlFlexibleServer_basic
fails with the following error, ignore_changeszone
because API returns a value for it when it is not specified.Some test cases failied with the following

ZoneNotAvailableForRegion
error, this is because the Available Zone ofeastus2
has changed from1
and2
to2
,3
.Some test cases fail with the following 500 Internal Server Error, per this document, the value

B_Standard_B1s
ofsku_name
is currently not supported, change toB_Standard_B1ms
instead ofB_Standard_B1s
to fix tests failure .Fix test case

TestAccMySqlFlexibleServer_updateMaintenanceWindow
fails with the following issues.Test Results:
https://hashicorp.teamcity.com/buildConfiguration/TF_AzureRM_AZURERM_SERVICE_PUBLIC_MYSQL?branch=refs%2Fpull%2F28882%2Fmerge&buildTypeTab=overview