Skip to content

Commit f52df24

Browse files
committed
test: renaming qpf tests so that smoke tests can pick out qpf
1 parent f8d8670 commit f52df24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

provider/resource_rediscloud_pro_database_qpf_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func TestAccResourceRedisCloudProDatabase_qpf(t *testing.T) {
142142
})
143143
}
144144

145-
func TestAccResourceRedisCloudProDatabase_missingModule(t *testing.T) {
145+
func TestAccResourceRedisCloudProDatabase_qpf_missingModule(t *testing.T) {
146146
name := acctest.RandomWithPrefix(testResourcePrefix)
147147
password := acctest.RandString(20)
148148
testCloudAccountName := os.Getenv("AWS_TEST_CLOUD_ACCOUNT_NAME")
@@ -152,7 +152,7 @@ func TestAccResourceRedisCloudProDatabase_missingModule(t *testing.T) {
152152
testErrorCase(t, config, regexp.MustCompile("query_performance_factor\" requires the \"modules\" key to be explicitly defined in HCL"))
153153
}
154154

155-
func TestAccResourceRedisCloudProDatabase_missingRediSearchModule(t *testing.T) {
155+
func TestAccResourceRedisCloudProDatabase_qpf_missingRediSearchModule(t *testing.T) {
156156
name := acctest.RandomWithPrefix(testResourcePrefix)
157157
password := acctest.RandString(20)
158158
testCloudAccountName := os.Getenv("AWS_TEST_CLOUD_ACCOUNT_NAME")
@@ -162,7 +162,7 @@ func TestAccResourceRedisCloudProDatabase_missingRediSearchModule(t *testing.T)
162162
testErrorCase(t, config, regexp.MustCompile("query_performance_factor\" requires the \"modules\" list to contain \"RediSearch"))
163163
}
164164

165-
func TestAccResourceRedisCloudProDatabase_invalidQueryPerformanceFactors(t *testing.T) {
165+
func TestAccResourceRedisCloudProDatabase_qpf_invalidQueryPerformanceFactors(t *testing.T) {
166166
name := acctest.RandomWithPrefix("tf-test")
167167
password := acctest.RandString(20)
168168
testCloudAccountName := os.Getenv("AWS_TEST_CLOUD_ACCOUNT_NAME")
@@ -172,7 +172,7 @@ func TestAccResourceRedisCloudProDatabase_invalidQueryPerformanceFactors(t *test
172172
testSubErrorCase(t, config, regexp.MustCompile(`"creation_plan\.0\.query_performance_factor" must be an even value between 2x and 8x \(inclusive\), got: 5x`))
173173
}
174174

175-
func TestAccResourceRedisCloudProDatabase_invalidQueryPerformanceFactors_outOfRange(t *testing.T) {
175+
func TestAccResourceRedisCloudProDatabase_qpf_invalidQueryPerformanceFactors_outOfRange(t *testing.T) {
176176
name := acctest.RandomWithPrefix("tf-test")
177177
password := acctest.RandString(20)
178178
testCloudAccountName := os.Getenv("AWS_TEST_CLOUD_ACCOUNT_NAME")

0 commit comments

Comments
 (0)