@@ -37,7 +37,7 @@ import (
37
37
const (
38
38
testClusterName = "cluster"
39
39
testServiceName = "service"
40
- otherTestServiceName = "some-other -name"
40
+ nonDefaultSDSName = "some-custom -name"
41
41
testDescription = "clyde loves pudding"
42
42
otherTestDescription = "pudding plays hard to get"
43
43
testNamespaceStackName = "amazon-ecs-cli-setup-private-dns-namespace-cluster-service"
@@ -232,7 +232,7 @@ func TestCreateServiceDiscoveryWithECSParams(t *testing.T) {
232
232
Description : testDescription ,
233
233
},
234
234
ServiceDiscoveryService : utils.ServiceDiscoveryService {
235
- Name : otherTestServiceName ,
235
+ Name : nonDefaultSDSName ,
236
236
Description : testDescription ,
237
237
DNSConfig : utils.DNSConfig {
238
238
TTL : aws .Int64 (60 ),
@@ -251,7 +251,7 @@ func TestCreateServiceDiscoveryWithECSParams(t *testing.T) {
251
251
}
252
252
var validateSDS validateSDSParamsFunc = func (t * testing.T , cfnParams * cloudformation.CfnStackParams ) {
253
253
validateCFNParam (testNamespaceID , parameterKeyNamespaceID , cfnParams , t )
254
- validateCFNParam (otherTestServiceName , parameterKeySDSName , cfnParams , t )
254
+ validateCFNParam (nonDefaultSDSName , parameterKeySDSName , cfnParams , t )
255
255
validateCFNParam (servicediscovery .RecordTypeSrv , parameterKeyDNSType , cfnParams , t )
256
256
validateCFNParam (testDescription , parameterKeySDSDescription , cfnParams , t )
257
257
validateCFNParam ("60" , parameterKeyDNSTTL , cfnParams , t )
0 commit comments