CockroachDB tests: use a more recent version

pull/1658/head
Nicola Murino 2023-06-19 19:05:54 +02:00 committed by Jack Christensen
parent 7fccc604af
commit aa263d4352
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ fi
if [[ "${PGVERSION-}" =~ ^cockroach ]]
then
wget -qO- https://binaries.cockroachdb.com/cockroach-v22.1.8.linux-amd64.tgz | tar xvz
sudo mv cockroach-v22.1.8.linux-amd64/cockroach /usr/local/bin/
wget -qO- https://binaries.cockroachdb.com/cockroach-v23.1.3.linux-amd64.tgz | tar xvz
sudo mv cockroach-v23.1.3.linux-amd64/cockroach /usr/local/bin/
cockroach start-single-node --insecure --background --listen-addr=localhost
cockroach sql --insecure -e 'create database pgx_test'
fi