Skip to content

Commit 6a5d079

Browse files
committed
[travis] fix test_ptrack_vacuum_full #4
1 parent 01a9bb9 commit 6a5d079

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

Diff for: .travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ install:
1212
- docker-compose build
1313

1414
script:
15-
# - docker-compose run $(bash <(curl -s https://codecov.io/env)) tests
16-
- docker-compose run tests
15+
- docker-compose run $(bash <(curl -s https://codecov.io/env)) tests
1716

1817
notifications:
1918
email:

Diff for: run_tests.sh

+2-11
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ cd ..
7474
echo "############### Compiling and installing ptrack extension"
7575

7676
# XXX: Hackish way to make possible to run tap tests
77-
#mkdir $PG_SRC/contrib/ptrack
78-
#cp -R t $PG_SRC/contrib/ptrack/
7977
ln -s `pwd` $PG_SRC/contrib/ptrack
8078

8179
make USE_PGXS=1 PG_CPPFLAGS="-coverage" SHLIB_LINK="-coverage" -C $PG_SRC/contrib/ptrack/ install
@@ -97,16 +95,9 @@ if [ "$TEST_CASE" = "tap" ]; then
9795
fi
9896

9997
else
100-
# Show kernel params (used for debugging -- probackup tests)
101-
echo "############### kernel params:"
102-
cat /proc/sys/kernel/yama/ptrace_scope
103-
sysctl kernel.yama.ptrace_scope=0
104-
cat /proc/sys/kernel/yama/ptrace_scope
105-
sudo sysctl kernel.yama.ptrace_scope=0
106-
cat /proc/sys/kernel/yama/ptrace_scope
98+
# Set kernel params (used for debugging -- probackup tests)
99+
echo "############### setting kernel params:"
107100
sudo sh -c 'echo 0 > /proc/sys/kernel/yama/ptrace_scope'
108-
cat /proc/sys/kernel/yama/ptrace_scope
109-
ls -l /usr/sbin
110101

111102
# Build and install pg_probackup
112103
echo "############### Compiling and installing pg_probackup"

0 commit comments

Comments
 (0)