@@ -6,6 +6,9 @@ scenario "plugin" {
66 The plugin scenario deploys a Vault cluster with external integration services and runs comprehensive
77 plugin blackbox tests. This scenario validates plugin functionality including:
88
9+ - LDAP secrets engine: Static/dynamic roles, password policies, rotation, rollback scenarios
10+ - Future plugins: Database, SSH, PKI, and other secrets engines
11+
912 The scenario creates dedicated external services (LDAP, databases, etc.) using containers and
1013 configures them with test data required for comprehensive plugin testing.
1114
@@ -92,7 +95,12 @@ scenario "plugin" {
9295 ubuntu = provider.enos.ubuntu
9396 }
9497 manage_service = matrix. artifact_type == " bundle"
95- test_names = [" TestAlwaysPass" ]
98+ test_names = {
99+ ldap = [" TestLDAPSecretsEngineComprehensive" ]
100+ // database = ["TestDatabaseSecretsEngineComprehensive"] // Future
101+ // ssh = ["TestSSHSecretsEngineComprehensive"] // Future
102+ // pki = ["TestPKISecretsEngineComprehensive"] // Future
103+ }
96104 }
97105
98106 step "build_vault" {
@@ -477,8 +485,8 @@ scenario "plugin" {
477485 leader_host = step. get_vault_cluster_ips . leader_host
478486 leader_public_ip = step. get_vault_cluster_ips . leader_public_ip
479487 vault_root_token = step. create_vault_cluster . root_token
480- test_names = local. test_names
481- test_package = " ./vault/external_tests/blackbox/plugin "
488+ test_names = local. test_names [ " ldap " ] // Update this to select different plugin tests based on scenario configuration
489+ test_package = " ./vault/external_tests/blackbox/ldap "
482490 integration_host_state = step. set_up_plugin_services . state
483491 vault_edition = matrix. edition
484492 }
0 commit comments