platform/tests/prepare.sh
Andrey Sobolev cf2ca2ee27
UBER-536: Fix test stability (#3466)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2023-06-29 11:46:28 +06:00

15 lines
411 B
Bash
Executable File

#!/bin/bash
docker-compose -p sanity kill
docker-compose -p sanity down --volumes
docker-compose -p sanity up -d --force-recreate --renew-anon-volumes
./wait-elastic.sh 9201
# Creae workspace record in accounts
./tool.sh create-workspace sanity-ws -o SanityTest
# Create user record in accounts
./tool.sh create-account user1 -f John -l Appleseed -p 1234
./tool.sh confirm-email user1
./restore-workspace.sh