@@ -27,7 +27,7 @@ func TestAccAnycastConfigResource_basic(t *testing.T) {
2727 Steps : []resource.TestStep {
2828 // Create and Read
2929 {
30- Config : testAccAnycastConfigResourceBasicConfig (anycastName , "DHCP " , anycastIP ),
30+ Config : testAccAnycastConfigResourceBasicConfig (anycastName , "DNS " , anycastIP ),
3131 Check : resource .ComposeTestCheckFunc (
3232 testAccCheckAnycastConfigResourceExists (context .Background (), resourceName , & v ),
3333 // Test Read Only fields
@@ -54,7 +54,7 @@ func TestAccAnycastConfigResource_disappears(t *testing.T) {
5454 CheckDestroy : testAccCheckAnycastConfigResourceDestroy (context .Background (), & v ),
5555 Steps : []resource.TestStep {
5656 {
57- Config : testAccAnycastConfigResourceBasicConfig (anycastName , "DHCP " , anycastIP ),
57+ Config : testAccAnycastConfigResourceBasicConfig (anycastName , "DNS " , anycastIP ),
5858 Check : resource .ComposeTestCheckFunc (
5959 testAccCheckAnycastConfigResourceExists (context .Background (), resourceName , & v ),
6060 testAccCheckAnycastConfigResourceDisappears (context .Background (), & v ),
@@ -78,7 +78,7 @@ func TestAccAnycastConfigResource_AnycastIpAddress(t *testing.T) {
7878 Steps : []resource.TestStep {
7979 // Create and Read
8080 {
81- Config : testAccAnycastConfigResourceAnycastIpAddress (anycastIP1 , anycastName , "DHCP " ),
81+ Config : testAccAnycastConfigResourceAnycastIpAddress (anycastIP1 , anycastName , "DNS " ),
8282 Check : resource .ComposeTestCheckFunc (
8383 testAccCheckAnycastConfigResourceExists (context .Background (), resourceName , & v ),
8484 resource .TestCheckResourceAttr (resourceName , "name" , anycastName ),
@@ -87,7 +87,7 @@ func TestAccAnycastConfigResource_AnycastIpAddress(t *testing.T) {
8787 },
8888 // Update and Read
8989 {
90- Config : testAccAnycastConfigResourceAnycastIpAddress (anycastIP2 , anycastName , "DHCP " ),
90+ Config : testAccAnycastConfigResourceAnycastIpAddress (anycastIP2 , anycastName , "DNS " ),
9191 Check : resource .ComposeTestCheckFunc (
9292 testAccCheckAnycastConfigResourceExists (context .Background (), resourceName , & v ),
9393 resource .TestCheckResourceAttr (resourceName , "name" , anycastName ),
@@ -174,18 +174,18 @@ func TestAccAnycastConfigResource_Service(t *testing.T) {
174174 Steps : []resource.TestStep {
175175 // Create and Read
176176 {
177- Config : testAccAnycastConfigResourceService (anycastIP , anycastName , "DHCP " ),
177+ Config : testAccAnycastConfigResourceService (anycastIP , anycastName , "DFP " ),
178178 Check : resource .ComposeTestCheckFunc (
179179 testAccCheckAnycastConfigResourceExists (context .Background (), resourceName , & v ),
180- resource .TestCheckResourceAttr (resourceName , "service" , "DHCP " ),
180+ resource .TestCheckResourceAttr (resourceName , "service" , "DFP " ),
181181 ),
182182 },
183183 // Update and Read
184184 {
185- Config : testAccAnycastConfigResourceService (anycastIP , anycastName , "DNS " ),
185+ Config : testAccAnycastConfigResourceService (anycastIP , anycastName , "NTP " ),
186186 Check : resource .ComposeTestCheckFunc (
187187 testAccCheckAnycastConfigResourceExists (context .Background (), resourceName , & v ),
188- resource .TestCheckResourceAttr (resourceName , "service" , "DNS " ),
188+ resource .TestCheckResourceAttr (resourceName , "service" , "NTP " ),
189189 ),
190190 },
191191 // Delete testing automatically occurs in TestCase
0 commit comments