Skip to content

Commit 173a76b

Browse files
committed
update suffix in fixtures, conform is specs
1 parent a5765c9 commit 173a76b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

test/fixtures/mysql-ha/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module "mysql" {
6060
}
6161

6262
// Read replica configurations
63-
read_replica_name_suffix = "test"
63+
read_replica_name_suffix = "-test"
6464
read_replica_size = 3
6565
read_replica_tier = "db-n1-standard-1"
6666
read_replica_zones = "a,b,c"
@@ -99,7 +99,7 @@ module "mysql" {
9999

100100
// Failover replica configurations
101101
failover_replica = true
102-
failover_replica_name_suffix = "test"
102+
failover_replica_name_suffix = "-test"
103103
failover_replica_tier = "db-n1-standard-1"
104104
failover_replica_zone = "a"
105105
failover_replica_activation_policy = "ALWAYS"

test/fixtures/postgresql-ha/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module "pg" {
6060
}
6161

6262
// Read replica configurations
63-
read_replica_name_suffix = "test"
63+
read_replica_name_suffix = "-test"
6464
read_replica_size = 3
6565
read_replica_tier = "db-custom-2-13312"
6666
read_replica_zones = "a,b,c"

test/integration/mysql-ha/controls/mysql.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
it { expect(user_labels).to include(foo: "bar") }
5858
end
5959

60-
describe google_sql_database_instance(project: project_id, database: "#{basename}-failover") do
60+
describe google_sql_database_instance(project: project_id, database: "#{basename}-failover-test") do
6161
let(:expected_settings) {
6262
{
6363
activation_policy: "ALWAYS",
@@ -93,7 +93,7 @@
9393
end
9494

9595
%i[a b c].each_with_index do |zone, index|
96-
name = "#{basename}-replica#{index}"
96+
name = "#{basename}-replica-test#{index}"
9797
describe google_sql_database_instance(project: project_id, database: name) do
9898
let(:expected_settings) {
9999
{

test/integration/postgresql-ha/controls/pg.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
end
6060

6161
%i[a b c].each_with_index do |zone, index|
62-
name = "#{basename}-replica#{index}"
62+
name = "#{basename}-replica-test#{index}"
6363
describe google_sql_database_instance(project: project_id, database: name) do
6464
let(:expected_settings) {
6565
{

0 commit comments

Comments
 (0)