Skip to content

Commit

Permalink
docs/contribution-checklist: Add ErrorCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Mar 12, 2021
1 parent 2f18efc commit efe1b58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/contributing/contribution-checklists.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func TestAccAWSServiceThing_Name_Generated(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
ErrorCheck: testAccErrorCheck(t, service.EndpointsID),
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSServiceThingDestroy,
Steps: []resource.TestStep{
Expand Down Expand Up @@ -163,6 +164,7 @@ func TestAccAWSServiceThing_NamePrefix(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
ErrorCheck: testAccErrorCheck(t, service.EndpointsID),
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSServiceThingDestroy,
Steps: []resource.TestStep{
Expand Down Expand Up @@ -353,6 +355,7 @@ More details about this code generation, including fixes for potential error mes

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSEks(t) },
ErrorCheck: testAccErrorCheck(t, eks.EndpointsID),
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSEksClusterDestroy,
Steps: []resource.TestStep{
Expand Down

0 comments on commit efe1b58

Please sign in to comment.