Skip to content

Commit e05ad99

Browse files
Lower timeout for dangling cluster creation to 10s (#10502) (#7281)
[upstream:d21a270947923ed7a62637007aa8e0a616203b78] Signed-off-by: Modular Magician <[email protected]>
1 parent afcb54a commit e05ad99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google-beta/services/container/resource_container_cluster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3767,7 +3767,7 @@ func TestAccContainerCluster_errorCleanDanglingCluster(t *testing.T) {
37673767

37683768
initConfig := testAccContainerCluster_withInitialCIDR(containerNetName, clusterName)
37693769
overlapConfig := testAccContainerCluster_withCIDROverlap(initConfig, clusterNameError)
3770-
overlapConfigWithTimeout := testAccContainerCluster_withCIDROverlapWithTimeout(initConfig, clusterNameErrorWithTimeout, "40s")
3770+
overlapConfigWithTimeout := testAccContainerCluster_withCIDROverlapWithTimeout(initConfig, clusterNameErrorWithTimeout, "1s")
37713771

37723772
checkTaintApplied := func(st *terraform.State) error {
37733773
// Return an error if there is no tainted (i.e. marked for deletion) cluster.
@@ -3813,7 +3813,7 @@ func TestAccContainerCluster_errorCleanDanglingCluster(t *testing.T) {
38133813
Check: checkTaintApplied,
38143814
},
38153815
{
3816-
// Next attempt to create the overlapping cluster with a 40s timeout. This will fail with a different error.
3816+
// Next attempt to create the overlapping cluster with a 1s timeout. This will fail with a different error.
38173817
Config: overlapConfigWithTimeout,
38183818
ExpectError: regexp.MustCompile("timeout while waiting for state to become 'DONE'"),
38193819
},

0 commit comments

Comments
 (0)