mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-11 01:42:06 -04:00
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> |
||
|---|---|---|
| .. | ||
| scripts | ||
| main.tf | ||
| outputs.tf | ||
| plugin.tf | ||
| variables.tf | ||