File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,17 @@ if [ "$TEST_CASE" = "tap" ]; then
8484
8585 # Run tap tests
8686 echo " ############### Running tap tests"
87- make -C postgres/contrib/ptrack check || status=$?
87+ if [ " $MODE " = " legacy" ]; then
88+ # There is a known issue with attaching shared memory segment using the same
89+ # address each time, when EXEC_BACKEND mechanism is turned on. It happens due
90+ # to the ASLR address space randomization, so we are trying to attach a segment
91+ # to the already occupied location. That way we simply turning off ASLR here.
92+ #
93+ # Postgres comment: https://github.com/postgres/postgres/blob/5cbfce562f7cd2aab0cdc4694ce298ec3567930e/src/backend/postmaster/postmaster.c#L4929
94+ setarch x86_64 --addr-no-randomize make -C postgres/contrib/ptrack check || status=$?
95+ else
96+ make -C postgres/contrib/ptrack check || status=$?
97+ fi
8898
8999else
90100
You can’t perform that action at this time.
0 commit comments