vault/enos/modules/vault_run_blackbox_test
Vault Automation 528626df0c
feat(enos): migrate vault_verify_undo_logs to blackbox tests (#14543) (#14913)
Migrate undo logs verification from bash scripts to Go blackbox tests using
the vault_run_blackbox_test module pattern.

Changes:
- Add TestVaultUndoLogsMetric Go test in vault/external_tests/blackbox/verify
- Add AssertMetricGaugeValue SDK helper in blackbox/session_metrics.go
- Remove deprecated vault_verify_undo_logs bash-based module
- Update vault_run_blackbox_test to support test_env_vars parameter
- Update autopilot scenario to use vault_run_blackbox_test for undo logs verification

The test verifies the vault.core.replication.write_undo_logs gauge metric
via API calls, following the blackbox testing pattern (no SSH/file access).

Only autopilot scenario is updated as it's the only scenario that currently
uses undo logs verification. Other scenarios remain unchanged.

Rebased onto main (58751c5d19e) and resolved conflicts with current codebase.

Co-authored-by: hashigator <280075563+hashigator@users.noreply.github.com>
Co-authored-by: lt-hc <280075563+lt-hc@users.noreply.github.com>
2026-06-02 09:20:04 -04:00
..
scripts VAULT-43741 (enos) Convert vault_verify_version to Use Blackbox SDK (#13950) (#14323) 2026-04-28 08:59:34 -04:00
main.tf feat(enos): migrate vault_verify_undo_logs to blackbox tests (#14543) (#14913) 2026-06-02 09:20:04 -04:00
outputs.tf VAULT-43741 (enos) Convert vault_verify_version to Use Blackbox SDK (#13950) (#14323) 2026-04-28 08:59:34 -04:00
plugin.tf (enos): Add LDAP secrets engine blackbox tests to Plugin Scenario (#13072) (#13293) 2026-03-23 14:22:46 +00:00
variables.tf feat(enos): migrate vault_verify_undo_logs to blackbox tests (#14543) (#14913) 2026-06-02 09:20:04 -04:00