From 2036639e0e4aefb9901d81174694ec104b53ed1c Mon Sep 17 00:00:00 2001 From: teowa <104055472+teowa@users.noreply.github.com> Date: Wed, 8 Nov 2023 09:25:50 +0000 Subject: [PATCH] add test parallelism limit --- .teamcity/components/settings.kt | 6 ++++++ internal/services/elasticsan/elastic_san_resource_test.go | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.teamcity/components/settings.kt b/.teamcity/components/settings.kt index 3ad5ccdb9306..baa44f9ff9c5 100644 --- a/.teamcity/components/settings.kt +++ b/.teamcity/components/settings.kt @@ -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"), diff --git a/internal/services/elasticsan/elastic_san_resource_test.go b/internal/services/elasticsan/elastic_san_resource_test.go index 05e92c683a0e..b84f07990a37 100644 --- a/internal/services/elasticsan/elastic_san_resource_test.go +++ b/internal/services/elasticsan/elastic_san_resource_test.go @@ -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(), })