diff --git a/compute/patches/pg_graphql.patch b/compute/patches/pg_graphql.patch index 10f0eea4a9a5..744299be5f0f 100644 --- a/compute/patches/pg_graphql.patch +++ b/compute/patches/pg_graphql.patch @@ -1,14 +1,14 @@ -commit e22cdb9e3b373e2bb2ecb61ac41c5a56be1fdb5e +commit ec6a491d126882966a696f9ad5d3698935361d55 Author: Alexey Masterov Date: Tue Dec 17 10:25:00 2024 +0100 Changes required to run tests on Neon -diff --git a/test.sh b/test.sh +diff --git a/neon-test.sh b/neon-test.sh new file mode 100755 index 0000000..47beef2 --- /dev/null -+++ b/test.sh ++++ b/neon-test.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -ex diff --git a/docker-compose/run-tests.sh b/docker-compose/run-tests.sh index 429ff2e50a78..4b20cfc28d5e 100644 --- a/docker-compose/run-tests.sh +++ b/docker-compose/run-tests.sh @@ -7,9 +7,9 @@ LIST=$( (echo -e "${SKIP//","/"\n"}"; ls -d -- *-src) | sort | uniq -u) for d in ${LIST}; do [ -d "${d}" ] || continue psql -c "select 1" >/dev/null || break - if [ -f "${d}/test.sh" ]; then + if [ -f "${d}/neon-test.sh" ]; then cd "${d}" || exit 1 - ./test.sh || FAILED="${d} ${FAILED}" + ./neon-test.sh || FAILED="${d} ${FAILED}" cd .. else USE_PGXS=1 make -C "${d}" installcheck || FAILED="${d} ${FAILED}"