Skip to content

Commit

Permalink
Skip sharing tests for v4.1.0
Browse files Browse the repository at this point in the history
As NSX v4.1.0 sharing API is different than later versions.

Signed-off-by: Kobi Samoray <[email protected]>
  • Loading branch information
ksamoray committed Jul 8, 2024
1 parent 9a7d2a9 commit c4167bd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nsxt/resource_nsxt_policy_share_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestAccResourceNsxtPolicyShare_basic(t *testing.T) {
PreCheck: func() {
testAccPreCheck(t)
testAccOnlyLocalManager(t)
testAccNSXVersion(t, "4.1.0")
testAccNSXVersion(t, "4.1.1")
},
Providers: testAccProviders,
CheckDestroy: func(state *terraform.State) error {
Expand Down Expand Up @@ -71,7 +71,7 @@ func TestAccResourceNsxtPolicyShare_importBasic(t *testing.T) {
PreCheck: func() {
testAccPreCheck(t)
testAccOnlyLocalManager(t)
testAccNSXVersion(t, "4.1.0")
testAccNSXVersion(t, "4.1.1")
},
Providers: testAccProviders,
CheckDestroy: func(state *terraform.State) error {
Expand Down
4 changes: 2 additions & 2 deletions nsxt/resource_nsxt_policy_shared_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestAccResourceNsxtPolicySharedResource_basic(t *testing.T) {
PreCheck: func() {
testAccPreCheck(t)
testAccOnlyLocalManager(t)
testAccNSXVersion(t, "4.1.0")
testAccNSXVersion(t, "4.1.1")
},
Providers: testAccProviders,
CheckDestroy: func(state *terraform.State) error {
Expand Down Expand Up @@ -72,7 +72,7 @@ func TestAccResourceNsxtPolicySharedResource_importBasic(t *testing.T) {
PreCheck: func() {
testAccPreCheck(t)
testAccOnlyLocalManager(t)
testAccNSXVersion(t, "4.1.0")
testAccNSXVersion(t, "4.1.1")
},
Providers: testAccProviders,
CheckDestroy: func(state *terraform.State) error {
Expand Down
1 change: 1 addition & 0 deletions website/docs/r/policy_share.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description: A resource to configure a Share.

This resource provides a method for the management of a Share.
This resource is applicable to NSX Policy Manager.
This resource is supported with NSX 4.1.1 onwards.

## Example Usage

Expand Down
1 change: 1 addition & 0 deletions website/docs/r/policy_shared_resource.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description: A resource to configure a Shared Resource.

This resource provides a method for the management of a Shared Resource.
This resource is applicable to NSX Policy Manager.
This resource is supported with NSX 4.1.1 onwards.

## Example Usage

Expand Down

0 comments on commit c4167bd

Please sign in to comment.