File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,18 @@ jobs:
17
17
steps :
18
18
- name : pg
19
19
run : |
20
+ sudo apt install libipc-run-perl
21
+
20
22
echo "Deploying to production server on branch" $BRANCH_NAME
21
23
git config --global user.email "[email protected] "
22
24
git config --global user.name "CI PgPro admin"
25
+ export COPT=-Werror
26
+ export CONFIGURE_OPTS="--prefix=`pwd`/tmp_install --enable-tap-tests --enable-cassert"
23
27
git clone https://github.com/postgres/postgres.git pg
24
28
cd pg
29
+
25
30
git checkout REL_14_STABLE
26
- ./configure --prefix=`pwd`/tmp_install CFLAGS="-O3"
31
+ ./configure $CONFIGURE_OPTS CFLAGS="-O3"
27
32
git clone https://github.com/postgrespro/aqo.git contrib/aqo
28
33
git -C contrib/aqo checkout $BRANCH_NAME
29
34
patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg14.patch
33
38
echo "Use AQO with debug code included"
34
39
git clean -fdx
35
40
git -C contrib/aqo clean -fdx
36
- ./configure --prefix=`pwd`/tmp_install CFLAGS="-DAQO_DEBUG_PRINT -O0"
41
+ ./configure $CONFIGURE_OPTS CFLAGS="-DAQO_DEBUG_PRINT -O0"
37
42
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
38
43
env CLIENTS=50 THREADS=50 make -C contrib/aqo check
Original file line number Diff line number Diff line change 335
335
" SELECT sum(executions_with_aqo) FROM test.aqo_query_stat" );
336
336
337
337
# 25 trans * 10 clients * 4 query classes = 1000 + unique SELECT to pgbench_branches
338
- is($res , 1001 , ' Each query should be logged in LEARN mode' );
338
+ is($res , $CLIENTS *100+1 , ' Each query should be logged in LEARN mode' );
339
339
$res = $node -> safe_psql(' postgres' ,
340
340
" SELECT sum(executions_without_aqo) FROM test.aqo_query_stat" );
341
341
is($res , 0, ' AQO has learned on the queries - 2' );
You can’t perform that action at this time.
0 commit comments