injection_points: Disable one permutation in isolation test "basic"
authorMichael Paquier <[email protected]>
Fri, 25 Oct 2024 01:34:27 +0000 (10:34 +0900)
committerMichael Paquier <[email protected]>
Fri, 25 Oct 2024 01:34:27 +0000 (10:34 +0900)
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/[email protected]

src/test/modules/injection_points/expected/basic.out
src/test/modules/injection_points/specs/basic.spec

index 840ce2dac90a2b9fdd137f294aa09823ed079867..9499ef4bd9d488d61c2583a0bef2a5f7a2f2f62e 100644 (file)
@@ -1,31 +1,5 @@
 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
 injection_points_attach
 -----------------------
index 7c50d85e1f99e58349561570bcf35055c50ce230..7f44e3ddc3540bee232c1420e8bcc9ceb5f62743 100644 (file)
@@ -26,7 +26,8 @@ step wakeup2  { SELECT injection_points_wakeup('injection-points-wait'); }
 step detach2   { SELECT injection_points_detach('injection-points-wait'); }
 
 # 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.
 permutation wait1 detach2 wakeup2