Skip to content

Commit

Permalink
Change error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Oct 9, 2024
1 parent b084874 commit 142eec9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/route53/e2eTest/src/InvalidChangeBatchTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ class InvalidChangeBatchTest {
}

assertNotNull(exception.message)
assertContains(exception.message, "[Tried to delete resource record set [name='test.blerg.com.', type='CNAME'] but it was not found, RRSet with DNS name test.blerg.com. is not permitted in zone this-is-a-test-domain-for-aws-sdk-kotlin.com., RRSet of type CNAME with DNS name test.blerg.com. is not permitted as it creates a CNAME loop in the zone.]")
println(exception.message)
assertContains(exception.message, "[Tried to delete resource record set [name='test.blerg.com.', type='CNAME'] but it was not found, RRSet with DNS name test.blerg.com. is not permitted in zone this-is-a-test-hosted-zone-for-aws-sdk-kotlin.com., RRSet of type CNAME with DNS name test.blerg.com. is not permitted as it creates a CNAME loop in the zone.]")
}
}
}

0 comments on commit 142eec9

Please sign in to comment.