@@ -28,7 +28,7 @@ func TestAccScalewayInstanceSecurityGroup_Basic(t *testing.T) {
28
28
assert .NoError (t , err )
29
29
ipnetTest , err := expandIPNet ("8.8.8.8" )
30
30
assert .NoError (t , err )
31
- resource .Test (t , resource.TestCase {
31
+ resource .ParallelTest (t , resource.TestCase {
32
32
PreCheck : func () { testAccPreCheck (t ) },
33
33
ProviderFactories : tt .ProviderFactories ,
34
34
CheckDestroy : testAccCheckScalewayInstanceSecurityGroupDestroy (tt ),
@@ -178,7 +178,7 @@ func TestAccScalewayInstanceSecurityGroup_ICMP(t *testing.T) {
178
178
assert .NoError (t , err )
179
179
ipnetTest , err := expandIPNet ("8.8.8.8" )
180
180
assert .NoError (t , err )
181
- resource .Test (t , resource.TestCase {
181
+ resource .ParallelTest (t , resource.TestCase {
182
182
PreCheck : func () { testAccPreCheck (t ) },
183
183
ProviderFactories : tt .ProviderFactories ,
184
184
CheckDestroy : testAccCheckScalewayInstanceSecurityGroupDestroy (tt ),
@@ -242,7 +242,7 @@ func TestAccScalewayInstanceSecurityGroup_ICMP(t *testing.T) {
242
242
func TestAccScalewayInstanceSecurityGroup_ANY (t * testing.T ) {
243
243
tt := NewTestTools (t )
244
244
defer tt .Cleanup ()
245
- resource .Test (t , resource.TestCase {
245
+ resource .ParallelTest (t , resource.TestCase {
246
246
PreCheck : func () { testAccPreCheck (t ) },
247
247
ProviderFactories : tt .ProviderFactories ,
248
248
CheckDestroy : testAccCheckScalewayInstanceSecurityGroupDestroy (tt ),
@@ -289,7 +289,7 @@ func TestAccScalewayInstanceSecurityGroup_WithNoPort(t *testing.T) {
289
289
defer tt .Cleanup ()
290
290
ipnetZero , err := expandIPNet ("0.0.0.0/0" )
291
291
assert .NoError (t , err )
292
- resource .Test (t , resource.TestCase {
292
+ resource .ParallelTest (t , resource.TestCase {
293
293
PreCheck : func () { testAccPreCheck (t ) },
294
294
ProviderFactories : tt .ProviderFactories ,
295
295
CheckDestroy : testAccCheckScalewayInstanceSecurityGroupDestroy (tt ),
@@ -324,7 +324,7 @@ func TestAccScalewayInstanceSecurityGroup_RemovePort(t *testing.T) {
324
324
defer tt .Cleanup ()
325
325
ipnetZero , err := expandIPNet ("0.0.0.0/0" )
326
326
assert .NoError (t , err )
327
- resource .Test (t , resource.TestCase {
327
+ resource .ParallelTest (t , resource.TestCase {
328
328
PreCheck : func () { testAccPreCheck (t ) },
329
329
ProviderFactories : tt .ProviderFactories ,
330
330
CheckDestroy : testAccCheckScalewayInstanceSecurityGroupDestroy (tt ),
@@ -381,7 +381,7 @@ func TestAccScalewayInstanceSecurityGroup_RemovePort(t *testing.T) {
381
381
func TestAccScalewayInstanceSecurityGroup_WithPortRange (t * testing.T ) {
382
382
tt := NewTestTools (t )
383
383
defer tt .Cleanup ()
384
- resource .Test (t , resource.TestCase {
384
+ resource .ParallelTest (t , resource.TestCase {
385
385
PreCheck : func () { testAccPreCheck (t ) },
386
386
ProviderFactories : tt .ProviderFactories ,
387
387
CheckDestroy : testAccCheckScalewayInstanceSecurityGroupDestroy (tt ),
@@ -438,7 +438,7 @@ func TestAccScalewayInstanceSecurityGroup_WithPortRange(t *testing.T) {
438
438
func TestAccScalewayInstanceSecurityGroup_Tags (t * testing.T ) {
439
439
tt := NewTestTools (t )
440
440
defer tt .Cleanup ()
441
- resource .Test (t , resource.TestCase {
441
+ resource .ParallelTest (t , resource.TestCase {
442
442
PreCheck : func () { testAccPreCheck (t ) },
443
443
ProviderFactories : tt .ProviderFactories ,
444
444
CheckDestroy : testAccCheckScalewayInstanceSecurityGroupDestroy (tt ),
@@ -619,7 +619,7 @@ func testSweepComputeInstanceSecurityGroup(_ string) error {
619
619
func TestAccScalewayInstanceSecurityGroup_EnableDefaultSecurity (t * testing.T ) {
620
620
tt := NewTestTools (t )
621
621
defer tt .Cleanup ()
622
- resource .Test (t , resource.TestCase {
622
+ resource .ParallelTest (t , resource.TestCase {
623
623
PreCheck : func () { testAccPreCheck (t ) },
624
624
ProviderFactories : tt .ProviderFactories ,
625
625
CheckDestroy : testAccCheckScalewayInstanceSecurityGroupDestroy (tt ),
0 commit comments