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

TestCase: fix acctest of azurerm_netapp_volume #20458

Merged
merged 2 commits into from
Feb 16, 2023
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 .teamcity/components/settings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var serviceTestConfigurationOverrides = mapOf(
// MySQL has quota available in certain locations
"mysql" to testConfiguration(locationOverride = LocationConfiguration("westeurope", "francecentral", "eastus2", false), useDevTestSubscription = true),

// netapp has a max of 10 accounts per subscription so lets limit it to 1 to account for broken ones, run Monday, Wednesday, Friday
// netapp has a max of 10 accounts and the max capacity of pool is 25 TiB per subscription so lets limit it to 1 to account for broken ones, run Monday, Wednesday, Friday
"netapp" to testConfiguration(parallelism = 1, daysOfWeek = "2,4,6", locationOverride = LocationConfiguration("westeurope", "eastus2", "westus2", false), useDevTestSubscription = true),

// Orbital is only available in certain locations
Expand Down
2 changes: 2 additions & 0 deletions internal/services/netapp/netapp_volume_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ resource "azurerm_netapp_volume" "test" {
service_level = "Standard"
subnet_id = azurerm_subnet.test.id
storage_quota_in_gb = 100
throughput_in_mibps = 1.562
neil-yechenwei marked this conversation as resolved.
Show resolved Hide resolved

tags = {
"CreatedOnDate" = "2022-07-08T23:50:21Z",
Expand Down Expand Up @@ -388,6 +389,7 @@ resource "azurerm_netapp_volume" "test" {
network_features = "Standard"
protocols = ["NFSv3"]
storage_quota_in_gb = 100
throughput_in_mibps = 1.562

tags = {
"CreatedOnDate" = "2022-07-08T23:50:21Z",
Expand Down