diff --git a/tests/scripts/init-vault.sh b/tests/scripts/init-vault.sh index f6fc1cd6..0fb27c01 100644 --- a/tests/scripts/init-vault.sh +++ b/tests/scripts/init-vault.sh @@ -1,6 +1,10 @@ #!/usr/bin/env bash -vault server -dev -dev-root-token-id="${VAULT_TOKEN}" & +vault server -dev \ + -dev-listen-address="${VAULT_ADDR#http://}" \ + -dev-root-token-id="${VAULT_TOKEN}" \ + -dev-no-store-token \ + & until vault status do diff --git a/tox.ini b/tox.ini index 82161ef3..c0b8c1c9 100644 --- a/tox.ini +++ b/tox.ini @@ -118,7 +118,7 @@ allowlist_externals = bash setenv = - VAULT_ADDR = http://localhost:8200 + VAULT_ADDR = http://localhost:8201 VAULT_TOKEN = test-root-token commands_pre =