Skip to content

Commit

Permalink
Revert "Run queries in one transaction"
Browse files Browse the repository at this point in the history
This reverts commit 2b80c44.
  • Loading branch information
bayandin committed Jul 2, 2024
1 parent 2b80c44 commit aa75464
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/actions/run-python-test-set/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,15 @@ runs:
# Wake up the cluster if we use remote neon instance
if [ "${{ inputs.build_type }}" = "remote" ] && [ -n "${BENCHMARK_CONNSTR}" ]; then
QUERIES="SELECT version();"
QUERIES=("SELECT version()")
if [[ "${PLATFORM}" = "neon"* ]]; then
QUERIES+="SHOW neon.tenant_id;"
QUERIES+="SHOW neon.timeline_id;"
QUERIES+=("SHOW neon.tenant_id")
QUERIES+=("SHOW neon.timeline_id")
fi
${POSTGRES_DISTRIB_DIR}/v${DEFAULT_PG_VERSION}/bin/psql "${BENCHMARK_CONNSTR}" -c "${QUERIES}"
for q in "${QUERIES[@]}"; do
${POSTGRES_DISTRIB_DIR}/v${DEFAULT_PG_VERSION}/bin/psql ${BENCHMARK_CONNSTR} -c "${q}"
done
fi
# Run the tests.
Expand Down

0 comments on commit aa75464

Please sign in to comment.