Skip to content

Commit b0f6156

Browse files
authored
Update component_test.go
1 parent 8711763 commit b0f6156

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

test/component_test.go

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,28 @@ func (s *ComponentSuite) TestBasicDatadogMonitor() {
4949
s.DriftTest(component, stack, nil)
5050
}
5151

52-
func (s *ComponentSuite) TestEnabledFlag() {
53-
const component = "datadog-monitor/disabled"
54-
const stack = "default-test"
55-
const awsRegion = "us-east-2"
52+
// func (s *ComponentSuite) TestEnabledFlag() {
53+
// const component = "datadog-monitor/disabled"
54+
// const stack = "default-test"
55+
// const awsRegion = "us-east-2"
5656

57-
// randomID := strings.ToLower(random.UniqueId())
57+
// // randomID := strings.ToLower(random.UniqueId())
5858

59-
// // Store the Datadog API key in SSM for the duration of the test.
60-
// apiKeyPath := fmt.Sprintf("/datadog/%s/datadog_api_key", randomID)
61-
// awsTerratest.PutParameter(s.T(), s.awsRegion, apiKeyPath, "Datadog API Key", s.datadogAPIKey)
59+
// // // Store the Datadog API key in SSM for the duration of the test.
60+
// // apiKeyPath := fmt.Sprintf("/datadog/%s/datadog_api_key", randomID)
61+
// // awsTerratest.PutParameter(s.T(), s.awsRegion, apiKeyPath, "Datadog API Key", s.datadogAPIKey)
6262

63-
// // Store the Datadog App key in SSM for the duration of the test.
64-
// appKeyPath := fmt.Sprintf("/datadog/%s/datadog_app_key", randomID)
65-
// awsTerratest.PutParameter(s.T(), s.awsRegion, appKeyPath, "Datadog App Key", s.datadogAppKey)
63+
// // // Store the Datadog App key in SSM for the duration of the test.
64+
// // appKeyPath := fmt.Sprintf("/datadog/%s/datadog_app_key", randomID)
65+
// // awsTerratest.PutParameter(s.T(), s.awsRegion, appKeyPath, "Datadog App Key", s.datadogAppKey)
6666

67-
// defer func() {
68-
// awsTerratest.DeleteParameter(s.T(), awsRegion, apiKeyPath)
69-
// awsTerratest.DeleteParameter(s.T(), awsRegion, appKeyPath)
70-
// }()
67+
// // defer func() {
68+
// // awsTerratest.DeleteParameter(s.T(), awsRegion, apiKeyPath)
69+
// // awsTerratest.DeleteParameter(s.T(), awsRegion, appKeyPath)
70+
// // }()
7171

72-
s.VerifyEnabledFlag(component, stack, nil)
73-
}
72+
// s.VerifyEnabledFlag(component, stack, nil)
73+
// }
7474

7575
func (s *ComponentSuite) SetupSuite() {
7676
s.InitConfig()

0 commit comments

Comments
 (0)