diff --git a/provider/awssd/fixtures_test.go b/provider/awssd/fixtures_test.go index e404074cb..9b9408a43 100644 --- a/provider/awssd/fixtures_test.go +++ b/provider/awssd/fixtures_test.go @@ -19,9 +19,7 @@ package awssd import ( "context" "errors" - "math/rand" "reflect" - "strconv" "testing" "time" @@ -58,7 +56,7 @@ type AWSSDClientStub struct { func (s *AWSSDClientStub) CreateService(_ context.Context, input *servicediscovery.CreateServiceInput, _ ...func(*servicediscovery.Options)) (*servicediscovery.CreateServiceOutput, error) { srv := &types.Service{ - Id: aws.String(strconv.Itoa(rand.Intn(10000))), + Id: input.Name, DnsConfig: input.DnsConfig, Name: input.Name, Description: input.Description,