Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit c0c5db3

Browse files
committed
Make it easier to debug DNS TLS test
1 parent f8ca7e8 commit c0c5db3

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

test/couchbase_single_cluster_dns_tls_test.go

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package test
22

33
import (
4+
"path/filepath"
5+
"testing"
6+
47
"github.com/gruntwork-io/terratest/modules/aws"
58
"github.com/gruntwork-io/terratest/modules/random"
69
"github.com/gruntwork-io/terratest/modules/terraform"
7-
"github.com/gruntwork-io/terratest/modules/test-structure"
8-
"path/filepath"
9-
"testing"
10+
test_structure "github.com/gruntwork-io/terratest/modules/test-structure"
1011
)
1112

1213
// This domain name is registered in the Gruntwork Phx DevOps account. It also has ACM certs in all regions.
@@ -27,6 +28,15 @@ func TestIntegrationCouchbaseCommunitySingleClusterDnsTlsUbuntu18(t *testing.T)
2728
}
2829

2930
func testCouchbaseSingleClusterDnsTls(t *testing.T, osName string, edition string) {
31+
// For convenience - uncomment these as well as the "os" import
32+
// when doing local testing if you need to skip any sections.
33+
//os.Setenv("TERRATEST_REGION", "eu-west-1")
34+
//os.Setenv("SKIP_setup_ami", "true")
35+
//os.Setenv("SKIP_setup_deploy", "true")
36+
//os.Setenv("SKIP_validation", "true")
37+
//os.Setenv("SKIP_teardown", "true")
38+
//os.Setenv("SKIP_logs", "true")
39+
3040
examplesFolder := test_structure.CopyTerraformFolderToTemp(t, "../", "examples")
3141
couchbaseAmiDir := filepath.Join(examplesFolder, "couchbase-ami")
3242
couchbaseSingleClusterDnsTlsDir := filepath.Join(examplesFolder, "couchbase-cluster-simple-dns-tls")

0 commit comments

Comments
 (0)