Skip to content

Commit

Permalink
Merge pull request #64 from serokell/dk318/#61-run-bats-tests-bug-wit…
Browse files Browse the repository at this point in the history
…h-second-vault

[#61] Fixed bug with second `vault` instance in `run-bats-tests.sh`
  • Loading branch information
DK318 authored Apr 12, 2022
2 parents 0296786 + 44c9b4e commit 5948695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run-bats-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FILTER=$1
vault server -dev -dev-root-token-id="root" -dev-listen-address="localhost:8209" > /dev/null 2>&1 &
vault1_pid=$!

vault server -dev -dev-root-token-id="second" -dev-listen-address="localhost:8210" > /dev/null 2>&1 &
vault server -dev -dev-root-token-id="second" -dev-listen-address="localhost:8211" > /dev/null 2>&1 &
vault2_pid=$!

if [ -z "$FILTER" ]; then
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/default-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ token = "root"
[[backend]]
type = "vault-kv"
name = "second"
address = "localhost:8210"
address = "localhost:8211"
mount = "secret"
token = "second"

0 comments on commit 5948695

Please sign in to comment.