Skip to content

Commit 65da6c0

Browse files
committed
chore: make netbox_prefix data source test non-parallel
1 parent 0cd8a46 commit 65da6c0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

netbox/data_source_netbox_prefix_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func TestAccNetboxPrefixDataSource_basic(t *testing.T) {
1414
testSlug := "prefix_ds_basic"
1515
testVlanVid := 4090
1616
testName := testAccGetTestName(testSlug)
17-
resource.ParallelTest(t, resource.TestCase{
17+
resource.Test(t, resource.TestCase{
1818
Providers: testAccProviders,
1919
Steps: []resource.TestStep{
2020
{
@@ -118,9 +118,7 @@ data "netbox_prefix" "by_status" {
118118
data "netbox_prefix" "by_family" {
119119
depends_on = [netbox_prefix.testv6]
120120
family = 6
121-
}
122-
123-
`, testName, testv4Prefix, testv6Prefix, testVlanVid),
121+
}`, testName, testv4Prefix, testv6Prefix, testVlanVid),
124122
Check: resource.ComposeTestCheckFunc(
125123
resource.TestCheckResourceAttrPair("data.netbox_prefix.by_prefix", "id", "netbox_prefix.testv4", "id"),
126124
resource.TestCheckResourceAttrPair("data.netbox_prefix.by_description", "id", "netbox_prefix.testv4", "id"),

0 commit comments

Comments
 (0)