Improve test case stability
authorÁlvaro Herrera <[email protected]>
Tue, 25 Nov 2025 17:20:06 +0000 (18:20 +0100)
committerÁlvaro Herrera <[email protected]>
Tue, 25 Nov 2025 17:20:06 +0000 (18:20 +0100)
commit417ac9c1eeebc5dd8186a9089055b8af43b2450e
treed151f58b3ef3f60d24448e31b40065ee0e7a8709
parent7169c0b96bb8929c939c8e96a52b42571085efe9
Improve test case stability

Given unlucky timing, some of the new tests added by commit bc32a12e0db2
can fail spuriously.  We haven't seen such failures yet in buildfarm,
but allegedly we can prevent them with this tweak.

While at it, remove an unused injection point I (Álvaro) added.

Author: Mihail Nikalayeu <[email protected]>
Discussion: https://postgr.es/m/CADzfLwUc=jtSUEaQCtyt8zTeOJ-gHZ8=w_KJsVjDOYSLqaY9Lg@mail.gmail.com
Discussion: https://postgr.es/m/CADzfLwV5oQq-Vg_VmG_o4SdL6yHjDoNO4T4pMtgJLzYGmYf74g@mail.gmail.com
src/backend/executor/execIndexing.c
src/backend/utils/time/snapmgr.c
src/test/modules/injection_points/expected/index-concurrently-upsert-predicate.out
src/test/modules/injection_points/expected/index-concurrently-upsert.out
src/test/modules/injection_points/specs/index-concurrently-upsert-predicate.spec
src/test/modules/injection_points/specs/index-concurrently-upsert.spec