From e10a801a2922a70e0b7cfe9ea40e0e3b6146d7f1 Mon Sep 17 00:00:00 2001 From: Pavlo Tytarchuk Date: Mon, 5 Feb 2024 12:40:08 +0100 Subject: [PATCH 1/2] testing cockroach config --- src/test/resources/docker/setup_db.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/resources/docker/setup_db.sh b/src/test/resources/docker/setup_db.sh index 3de1d2e02..ab2c2fc15 100755 --- a/src/test/resources/docker/setup_db.sh +++ b/src/test/resources/docker/setup_db.sh @@ -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;" From dd832c132e9976454fae8952c9bd6efcc0ff95c3 Mon Sep 17 00:00:00 2001 From: Pavlo Tytarchuk Date: Mon, 5 Feb 2024 13:02:31 +0100 Subject: [PATCH 2/2] testing cockroach config --- src/test/resources/docker/docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/resources/docker/docker-compose.yml b/src/test/resources/docker/docker-compose.yml index c3a77c14c..a3f16fab8 100644 --- a/src/test/resources/docker/docker-compose.yml +++ b/src/test/resources/docker/docker-compose.yml @@ -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" @@ -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" @@ -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" @@ -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"