Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check cockroach config #732

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/test/resources/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ services:

crdb-20.2:
image: cockroachdb/cockroach:v20.2.19
command: start-single-node --insecure
command: start-single-node
expose:
- "8080"
- "26257"
Expand All @@ -330,7 +330,7 @@ services:

crdb-21.1:
image: cockroachdb/cockroach:v21.1.16
command: start-single-node --insecure
command: start-single-node
expose:
- "8080"
- "26257"
Expand All @@ -352,7 +352,7 @@ services:

crdb-21.2:
image: cockroachdb/cockroach:v21.2.7
command: start-single-node --insecure
command: start-single-node
expose:
- "8080"
- "26257"
Expand All @@ -375,7 +375,7 @@ services:

crdb-22.1:
image: cockroachdb/cockroach-unstable:v22.1.0-beta.4
command: start-single-node --insecure
command: start-single-node
expose:
- "8080"
- "26257"
Expand Down
5 changes: 3 additions & 2 deletions src/test/resources/docker/setup_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
#sleep 10

HOST=$1
HOSTPARAMS="--host $HOST --insecure"
SQL="/cockroach/cockroach.sh sql $HOSTPARAMS"
ARGS=$2
HOSTPARAMS="--host $HOST"
SQL="/cockroach/cockroach.sh sql $HOSTPARAMS $ARGS"

$SQL -e "CREATE DATABASE lbcat;"
$SQL -e "CREATE USER lbuser;"
Expand Down
Loading