File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33set -eux
44
5- if [ -z ${TEST_FILTER+x} ]; \
6- then export TEST_FILTER=" TestTestgresLocal or (TestTestgresCommon and (not remote))" ; \
5+ # Filter tests for local execution (without remote/ssh)
6+ if [ -z ${TEST_FILTER+x} ]; then
7+ export TEST_FILTER=" TestTestgresLocal or (TestTestgresCommon and (not remote))"
78fi
89
910echo NPROC: $( nproc)
1011
11- # fail early
12+ # Check for the presence of pg_config
1213echo check that pg_config is in PATH
1314command -v pg_config
1415
15- # prepare python environment
16+ # Setting up the Python environment
1617VENV_PATH=" /tmp/testgres_venv"
1718rm -rf $VENV_PATH
1819${PYTHON_BINARY} -m venv " ${VENV_PATH} "
@@ -86,7 +87,7 @@ check_leftover_ports__impl() {
8687
8788 # We display a list of frozen ports so that the culprits can be identified
8889 exec_command " ls -la '$ports_dir '" " $prefix "
89-
90+
9091 # We hard-drop the entire control script
9192 # sleep 3600
9293 exit 1
@@ -104,7 +105,7 @@ fs_verification__impl() {
104105
105106fs_verification () {
106107 fs_verification__impl " " " LOCAL"
107-
108+
108109 if [ -n " $REMOTE_SSH_PREFIX " ]; then
109110 fs_verification__impl " $REMOTE_SSH_PREFIX " " REMOTE"
110111 fi
You can’t perform that action at this time.
0 commit comments