File tree Expand file tree Collapse file tree 7 files changed +4897
-17
lines changed Expand file tree Collapse file tree 7 files changed +4897
-17
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ pg_query_state--*.sql
99cscope.out
1010tags
1111Dockerfile
12+ tmp_stress
13+
Original file line number Diff line number Diff line change 2626 - PG_VERSION=10
2727 - PG_VERSION=9.6 LEVEL=hardcore
2828 - PG_VERSION=9.6
29+ - PG_VERSION=12 LEVEL=stress
2930
3031matrix :
3132 allow_failures :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM postgres:${PG_VERSION}-alpine
22
33# Install dependencies
44RUN apk add --no-cache \
5- openssl curl \
5+ openssl curl git \
66 perl perl-ipc-run \
77 make musl-dev gcc bison flex coreutils \
88 zlib-dev libedit-dev \
@@ -29,7 +29,6 @@ RUN chown postgres:postgres ${PGDATA} && \
2929 chmod a+rwx /usr/local/share/postgresql/extension
3030
3131COPY run_tests.sh /run.sh
32- COPY tests/requirements.txt /requirements.txt
3332RUN chmod 755 /run.sh
3433
3534ADD . /pg/testdir
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ if [ -f regression.diffs ]; then cat regression.diffs; fi
144144# run python tests
145145set +x -e
146146python3 -m venv /tmp/env && source /tmp/env/bin/activate &&
147- pip install -r /requirements.txt
147+ pip install -r tests /requirements.txt
148148set -e # exit virtualenv with error code
149149python tests/pg_qs_test_runner.py --port $PGPORT
150150deactivate
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
2+
23mkdir -p tmp_stress
34cd tmp_stress
45rm -rf ./*
@@ -8,10 +9,10 @@ cd tpcds-kit/tools
89make -s
910
1011# Generate data
11- ./dsdgen -FORCE -VERBOSE
12+ ./dsdgen -FORCE -VERBOSE -SCALE 1
1213
1314# Prepare data
14- mkdir tables -p
15+ mkdir -p tables
1516for i in ` ls * .dat` ; do
1617 echo " Preparing file " $i
1718 sed ' s/|$//' $i > tables/$i
2223 -INPUT ../query_templates/templates.lst \
2324 -VERBOSE Y \
2425 -QUALIFY Y \
26+ -SCALE 1 \
2527 -DIALECT netezza
You can’t perform that action at this time.
0 commit comments