test(e2e): Improve reliability of enos docker scenario (#3167)

This commit is contained in:
Michael Li authored and GitHub committed 2023-04-19 17:03:38 -04:00
1 parent c5b1b7bbc7
commit d25f4493d3
7 files changed
+63 -10

No files matched your search

+1 -3
View File
@@ -8,8 +8,6 @@
# This script must only output the JSON that comes from `boundary database init` as the output is
# consumed by other scripts.
TEST_BOUNDARY_IMAGE=$1
TEST_DATABASE_ADDRESS=$2
TEST_CONTAINER_NAME=boundary-init
SOURCE=$(realpath $(dirname ${BASH_SOURCE[0]})) # get directory of this script
@@ -20,6 +18,6 @@ docker run \
-e "SKIP_CHOWN=true" \
--cap-add IPC_LOCK \
--mount type=bind,src=$SOURCE,dst=/boundary/ \
--network e2e_network \
--network $TEST_NETWORK_NAME \
$TEST_BOUNDARY_IMAGE \
boundary database init -config /boundary/boundary-config.hcl -format json