Skip to content

Commit 42ae7ec

Browse files
committed
Use resource.ParallelTest to make testing quicker
Signed-off-by: Timo Sand <[email protected]>
1 parent 37fbbfb commit 42ae7ec

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

github/resource_github_team_settings_test.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
3232
}
3333
`, teamName)
3434

35-
resource.Test(t, resource.TestCase{
35+
resource.ParallelTest(t, resource.TestCase{
3636
PreCheck: func() { skipUnlessHasOrgs(t) },
3737
ProviderFactories: providerFactories,
3838
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -81,7 +81,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
8181
}
8282
`
8383

84-
resource.Test(t, resource.TestCase{
84+
resource.ParallelTest(t, resource.TestCase{
8585
PreCheck: func() { skipUnlessHasOrgs(t) },
8686
ProviderFactories: providerFactories,
8787
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -141,7 +141,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
141141
}
142142
`, teamName)
143143

144-
resource.Test(t, resource.TestCase{
144+
resource.ParallelTest(t, resource.TestCase{
145145
PreCheck: func() { skipUnlessHasOrgs(t) },
146146
ProviderFactories: providerFactories,
147147
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -185,7 +185,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
185185
}
186186
`, teamName)
187187

188-
resource.Test(t, resource.TestCase{
188+
resource.ParallelTest(t, resource.TestCase{
189189
PreCheck: func() { skipUnlessHasOrgs(t) },
190190
ProviderFactories: providerFactories,
191191
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -234,7 +234,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
234234
}
235235
`, teamName)
236236

237-
resource.Test(t, resource.TestCase{
237+
resource.ParallelTest(t, resource.TestCase{
238238
PreCheck: func() { skipUnlessHasOrgs(t) },
239239
ProviderFactories: providerFactories,
240240
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -266,7 +266,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
266266
}
267267
`, teamName)
268268

269-
resource.Test(t, resource.TestCase{
269+
resource.ParallelTest(t, resource.TestCase{
270270
PreCheck: func() { skipUnlessHasOrgs(t) },
271271
ProviderFactories: providerFactories,
272272
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -294,7 +294,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
294294
}
295295
`, teamName)
296296

297-
resource.Test(t, resource.TestCase{
297+
resource.ParallelTest(t, resource.TestCase{
298298
PreCheck: func() { skipUnlessHasOrgs(t) },
299299
ProviderFactories: providerFactories,
300300
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -335,7 +335,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
335335
}
336336
`, teamName)
337337

338-
resource.Test(t, resource.TestCase{
338+
resource.ParallelTest(t, resource.TestCase{
339339
PreCheck: func() { skipUnlessHasOrgs(t) },
340340
ProviderFactories: providerFactories,
341341
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -382,7 +382,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
382382
}
383383
`, teamName)
384384

385-
resource.Test(t, resource.TestCase{
385+
resource.ParallelTest(t, resource.TestCase{
386386
PreCheck: func() { skipUnlessHasOrgs(t) },
387387
ProviderFactories: providerFactories,
388388
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -448,7 +448,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
448448
}
449449
`, teamName)
450450

451-
resource.Test(t, resource.TestCase{
451+
resource.ParallelTest(t, resource.TestCase{
452452
PreCheck: func() { skipUnlessHasOrgs(t) },
453453
ProviderFactories: providerFactories,
454454
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,
@@ -499,7 +499,7 @@ func TestAccGithubTeamSettings(t *testing.T) {
499499
}
500500
`
501501

502-
resource.Test(t, resource.TestCase{
502+
resource.ParallelTest(t, resource.TestCase{
503503
PreCheck: func() { skipUnlessHasOrgs(t) },
504504
ProviderFactories: providerFactories,
505505
CheckDestroy: testAccCheckGithubTeamSettingsDestroy,

0 commit comments

Comments
 (0)