We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent1b83b97 commitc7c52aaCopy full SHA for c7c52aa
run_tests.sh
@@ -84,7 +84,17 @@ if [ "$TEST_CASE" = "tap" ]; then
84
85
# Run tap tests
86
echo"############### Running tap tests"
87
- make -C postgres/contrib/ptrack check|| status=$?
+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
98
99
else
100