Skip to content

Commit

Permalink
Enable x-ns VDS integration tests
Browse files Browse the repository at this point in the history
Now that TFVP v4.4.0 is out we can enable the previously skipped x-ns
VDS integration tests.
  • Loading branch information
benashz committed Aug 8, 2024
1 parent f615a1b commit a3ada79
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion demo/infra/app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ terraform {
}
vault = {
source = "hashicorp/vault"
version = "4.2.0"
version = "4.4.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/integration/operator/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ terraform {
}
vault = {
source = "hashicorp/vault"
version = "4.2.0"
version = "4.4.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/integration/revocation/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ terraform {
}
vault = {
source = "hashicorp/vault"
version = "4.2.0"
version = "4.4.0"
}
helm = {
source = "hashicorp/helm"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/vaultauthmethods/terraform-gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ terraform {
}
vault = {
source = "hashicorp/vault"
version = "4.2.0"
version = "4.4.0"
}
google = {
source = "hashicorp/google"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/vaultauthmethods/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ terraform {
}
vault = {
source = "hashicorp/vault"
version = "4.2.0"
version = "4.4.0"
}
helm = {
source = "hashicorp/helm"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/vaultdynamicsecret/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ terraform {
}
vault = {
source = "hashicorp/vault"
version = "4.2.0"
version = "4.4.0"
}
}
}
Expand Down
7 changes: 1 addition & 6 deletions test/integration/vaultdynamicsecret_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,7 @@ func TestVaultDynamicSecret_vaultClientCallback(t *testing.T) {
// set a high default lease ttl to avoid renewals during the test
"vault_db_default_lease_ttl": 600,
"with_static_role_scheduled": withStaticRoleScheduled,
// disabling until https://github.com/hashicorp/terraform-provider-vault/pull/2289 is released
"with_xns": false,
"with_xns": true,
},
}
if entTests {
Expand Down Expand Up @@ -851,10 +850,6 @@ func TestVaultDynamicSecret_vaultClientCallback(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if tt.xns {
t.Skipf("skipping xns test %s, until https://github.com/hashicorp/terraform-provider-vault/pull/2289 is released", tt.name)
}

if tt.xns && !outputs.WithXns {
t.Skipf("skipping xns test %s, test infrastructure not supported", tt.name)
}
Expand Down
2 changes: 1 addition & 1 deletion test/integration/vaultpkisecret/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ terraform {
}
vault = {
source = "hashicorp/vault"
version = "4.2.0"
version = "4.4.0"
}
helm = {
source = "hashicorp/helm"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/vaultstaticsecret/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ terraform {
}
vault = {
source = "hashicorp/vault"
version = "4.2.0"
version = "4.4.0"
}
helm = {
source = "hashicorp/helm"
Expand Down

0 comments on commit a3ada79

Please sign in to comment.