File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 77 branches : [ master ]
88
99env :
10- BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
10+ BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
1111
1212jobs :
1313 build :
@@ -17,19 +17,20 @@ jobs:
1717 steps :
1818 - name : pg
1919 run : |
20+ sudo apt install libipc-run-perl
2021 echo "Deploying to production server on branch" $BRANCH_NAME
2122 git config --global user.email "ci@postgrespro.ru"
2223 git config --global user.name "CI PgPro admin"
2324 git clone https://github.com/postgres/postgres.git pg
2425 cd pg
2526 git checkout master
26- ./configure --prefix=`pwd`/tmp_install CFLAGS="-O3"
27+ ./configure --prefix=`pwd`/tmp_install CFLAGS="-O3" --enable-tap-tests --enable-cassert COPT=-Werror
2728 git clone https://github.com/postgrespro/aqo.git contrib/aqo
2829 git -C contrib/aqo checkout $BRANCH_NAME
2930 patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_master.patch
3031 make -j4 > /dev/null && make -j4 -C contrib > /dev/null
3132 env CLIENTS=50 THREADS=50 make -C contrib/aqo check
32-
33+
3334 echo "Use AQO with debug code included"
3435 git clean -fdx
3536 git -C contrib/aqo clean -fdx
Original file line number Diff line number Diff line change 336336 " SELECT sum(executions_with_aqo) FROM test.aqo_query_stat" );
337337
338338# 25 trans * 10 clients * 4 query classes = 1000 + unique SELECT to pgbench_branches
339- is($res , 1001 , ' Each query should be logged in LEARN mode' );
339+ is($res , $ENV { CLIENTS }*100+1 , ' Each query should be logged in LEARN mode' );
340340$res = $node -> safe_psql(' postgres' ,
341341 " SELECT sum(executions_without_aqo) FROM test.aqo_query_stat" );
342342is($res , 0, ' AQO has learned on the queries - 2' );
You can’t perform that action at this time.
0 commit comments