Rename MySQL test to show it's a public ip test
This commit is contained in:
3
test/Gopkg.lock
generated
3
test/Gopkg.lock
generated
@@ -399,10 +399,11 @@
|
||||
input-imports = [
|
||||
"github.com/go-sql-driver/mysql",
|
||||
"github.com/gruntwork-io/terratest/modules/gcp",
|
||||
"github.com/gruntwork-io/terratest/modules/random",
|
||||
"github.com/gruntwork-io/terratest/modules/logger",
|
||||
"github.com/gruntwork-io/terratest/modules/terraform",
|
||||
"github.com/gruntwork-io/terratest/modules/test-structure",
|
||||
"github.com/stretchr/testify/assert",
|
||||
"github.com/stretchr/testify/require",
|
||||
]
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
||||
|
||||
@@ -18,9 +18,9 @@ import (
|
||||
const DB_NAME = "testdb"
|
||||
const DB_USER = "testuser"
|
||||
const DB_PASS = "testpassword"
|
||||
const NAME_PREFIX = "mysql-test"
|
||||
const NAME_PREFIX = "mysql-public"
|
||||
const MYSQL_VERSION = "MYSQL_5_7"
|
||||
const EXAMPLE_NAME = "cloud-sql-mysql"
|
||||
const EXAMPLE_NAME = "mysql-public-ip"
|
||||
|
||||
const KEY_REGION = "region"
|
||||
const KEY_PROJECT = "project"
|
||||
@@ -30,7 +30,7 @@ const OUTPUT_PROXY_CONNECTION = "proxy_connection"
|
||||
const OUTPUT_DB_NAME = "db_name"
|
||||
const OUTPUT_PUBLIC_IP = "public_ip"
|
||||
|
||||
func TestCloudSQLMySql(t *testing.T) {
|
||||
func TestMySqlPublicIP(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
//os.Setenv("SKIP_bootstrap", "true")
|
||||
Reference in New Issue
Block a user