Skip to content

Commit

Permalink
add test parallelism limit
Browse files Browse the repository at this point in the history
  • Loading branch information
teowa committed Nov 29, 2023
1 parent 7c08a67 commit 2036639
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .teamcity/components/settings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ var serviceTestConfigurationOverrides = mapOf(
// Elastic can't provision many in parallel
"elastic" to testConfiguration(parallelism = 1),

// ElasticSAN has 5 instance quota per subscription per region
"elasticsan" to testConfiguration(parallelism = 4),

// HPC Cache has a 4 instance per subscription quota as of early 2021
"hpccache" to testConfiguration(parallelism = 3, daysOfWeek = "2,4,6"),

// HSM has low quota and potentially slow recycle time, Only run on Mondays
"hsm" to testConfiguration(parallelism = 1, daysOfWeek = "1"),

Expand Down
2 changes: 1 addition & 1 deletion internal/services/elasticsan/elastic_san_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func TestAccElasticSAN_reduceBaseSize(t *testing.T) {
data.ImportStep(),
{
Config: r.basic(data),
ExpectError: regexp.MustCompile("base_size_in_tib cannot be reduced"),
ExpectError: regexp.MustCompile("new base_size_in_tib should be greater than the existing one"),
},
data.ImportStep(),
})
Expand Down

0 comments on commit 2036639

Please sign in to comment.