From f1eb05e583e385d0bdb89323206ae6dc0a99a500 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 4 Dec 2024 09:02:42 -0500 Subject: [PATCH] Tweak 'TestAccRDSCluster_serverlessV2ScalingConfiguration'. --- internal/service/rds/cluster_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/service/rds/cluster_test.go b/internal/service/rds/cluster_test.go index 1c54914fabc..9804d6cd76f 100644 --- a/internal/service/rds/cluster_test.go +++ b/internal/service/rds/cluster_test.go @@ -2068,21 +2068,21 @@ func TestAccRDSCluster_serverlessV2ScalingConfiguration(t *testing.T) { CheckDestroy: testAccCheckClusterDestroy(ctx), Steps: []resource.TestStep{ { - Config: testAccClusterConfig_serverlessV2ScalingConfiguration(rName, 64.0, 0.0), + Config: testAccClusterConfig_serverlessV2ScalingConfiguration(rName, 64.0, 2.5), Check: resource.ComposeTestCheckFunc( testAccCheckClusterExists(ctx, resourceName, &dbCluster), resource.TestCheckResourceAttr(resourceName, "serverlessv2_scaling_configuration.#", "1"), resource.TestCheckResourceAttr(resourceName, "serverlessv2_scaling_configuration.0.max_capacity", "64"), - resource.TestCheckResourceAttr(resourceName, "serverlessv2_scaling_configuration.0.min_capacity", "0"), + resource.TestCheckResourceAttr(resourceName, "serverlessv2_scaling_configuration.0.min_capacity", "2.5"), ), }, { - Config: testAccClusterConfig_serverlessV2ScalingConfiguration(rName, 256.0, 8.5), + Config: testAccClusterConfig_serverlessV2ScalingConfiguration(rName, 256.0, 0), Check: resource.ComposeTestCheckFunc( testAccCheckClusterExists(ctx, resourceName, &dbCluster), resource.TestCheckResourceAttr(resourceName, "serverlessv2_scaling_configuration.#", "1"), resource.TestCheckResourceAttr(resourceName, "serverlessv2_scaling_configuration.0.max_capacity", "256"), - resource.TestCheckResourceAttr(resourceName, "serverlessv2_scaling_configuration.0.min_capacity", "8.5"), + resource.TestCheckResourceAttr(resourceName, "serverlessv2_scaling_configuration.0.min_capacity", "0"), ), }, },