1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-21 12:05:57 +03:00

injection_points: Disable one permutation in isolation test "basic"

The first permutation done in the test does a wait, a wakeup then a
detach.  It is proving to be unstable in the CI for FreeBSD (Windows and
Linux are stable).  The failure shows that the wait is so slow to finish
after being woken up that the detach has the time to finish before the
wait, messing up with the expected output.

There may be a platform-specific issue going on here, but for now
disable this permutation to make the CI runs more stable.

Discussion: https://postgr.es/m/ZxrnSGdNtQWAxE3_@paquier.xyz
This commit is contained in:
Michael Paquier 2024-10-25 10:34:27 +09:00
parent ffe12d1d22
commit 9f00edc228
2 changed files with 2 additions and 27 deletions

View File

@ -1,31 +1,5 @@
Parsed test spec with 2 sessions Parsed test spec with 2 sessions
starting permutation: wait1 wakeup2 detach2
injection_points_attach
-----------------------
(1 row)
step wait1: SELECT injection_points_run('injection-points-wait'); <waiting ...>
step wakeup2: SELECT injection_points_wakeup('injection-points-wait');
injection_points_wakeup
-----------------------
(1 row)
step wait1: <... completed>
injection_points_run
--------------------
(1 row)
step detach2: SELECT injection_points_detach('injection-points-wait');
injection_points_detach
-----------------------
(1 row)
starting permutation: wait1 detach2 wakeup2 starting permutation: wait1 detach2 wakeup2
injection_points_attach injection_points_attach
----------------------- -----------------------

View File

@ -26,7 +26,8 @@ step wakeup2 { SELECT injection_points_wakeup('injection-points-wait'); }
step detach2 { SELECT injection_points_detach('injection-points-wait'); } step detach2 { SELECT injection_points_detach('injection-points-wait'); }
# Detach after wait and wakeup. # Detach after wait and wakeup.
permutation wait1 wakeup2 detach2 # This permutation is proving to be unstable on FreeBSD, so disable for now.
#permutation wait1 wakeup2 detach2
# Detach before wakeup. s1 waits until wakeup, ignores the detach. # Detach before wakeup. s1 waits until wakeup, ignores the detach.
permutation wait1 detach2 wakeup2 permutation wait1 detach2 wakeup2