Skip to content

Commit

Permalink
update test matrix and add test skip check
Browse files Browse the repository at this point in the history
  • Loading branch information
vinay-gopalan committed Oct 14, 2024
1 parent b49f17b commit 748c156
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
fail-fast: false
matrix:
image:
- "vault-enterprise:1.13.13-ent"
- "vault-enterprise:1.14.13-ent"
- "vault-enterprise:1.15.12-ent"
- "vault-enterprise:1.16.6-ent"
- "vault-enterprise:1.17.2-ent"
- "vault-enterprise:1.15.16-ent"
- "vault-enterprise:1.16.11-ent"
- "vault-enterprise:1.17.7-ent"
- "vault-enterprise:1.18.0-ent"
- "vault:latest"
services:
vault:
Expand Down
7 changes: 5 additions & 2 deletions vault/resource_database_secret_backend_static_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,11 @@ CREATE ROLE "{{name}}" WITH

resource.Test(t, resource.TestCase{
ProviderFactories: providerFactories,
PreCheck: func() { testutil.TestEntPreCheck(t) },
CheckDestroy: testAccDatabaseSecretBackendStaticRoleCheckDestroy,
PreCheck: func() {
testutil.TestEntPreCheck(t)
SkipIfAPIVersionLT(t, testProvider.Meta(), provider.VaultVersion118)
},
CheckDestroy: testAccDatabaseSecretBackendStaticRoleCheckDestroy,
Steps: []resource.TestStep{
{
Config: testAccDatabaseSecretBackendStaticRoleConfig_rootlessConfig(name, username, dbName, backend, connURL, "testpassword"),
Expand Down

0 comments on commit 748c156

Please sign in to comment.