Improve test case stability
Álvaro Herrera <alvherre@kurilemu.de>
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 <mihailnikalayeu@gmail.com> 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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execIndexing.c | modified | +1 −3 |
| src/backend/utils/time/snapmgr.c | modified | +1 −0 |
| src/test/modules/injection_points/expected/index-concurrently-upsert.out | modified | +8 −3 |
| src/test/modules/injection_points/expected/index-concurrently-upsert-predicate.out | modified | +8 −3 |
| src/test/modules/injection_points/specs/index-concurrently-upsert-predicate.spec | modified | +14 −7 |
| src/test/modules/injection_points/specs/index-concurrently-upsert.spec | modified | +13 −6 |
Discussion
- Issues with ON CONFLICT UPDATE and REINDEX CONCURRENTLY 99 messages · 2024-06-11 → 2026-01-28
- isolation tester limitation in case of multiple injection points in a single command 8 messages · 2025-10-19 → 2025-11-22