Commit d802ff0
committed
Fix backstop in gin test if injection point is not reached
Per Tom Lane's observation that the test got stuck in infinite loop if
the injection_points module was not loaded. It was supposed to give up
after 10000 iterations, but the backstop was broken.
Discussion: https://www.postgresql.org/message-id/2498595.1710511222%40sss.pgh.pa.us1 parent 85f65d7 commit d802ff0Copy full SHA for d802ff0
File tree
Expand file treeCollapse file tree
2 files changed
+6
-4
lines changedOpen diff view settings
Filter options
- src/test/modules/gin
- expected
- sql
Expand file treeCollapse file tree
2 files changed
+6
-4
lines changedOpen diff view settings
Collapse file
src/test/modules/gin/expected/gin_incomplete_splits.out
Copy file name to clipboardExpand all lines: src/test/modules/gin/expected/gin_incomplete_splits.out+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
| 48 | + |
48 | 49 | |
49 | 50 | |
50 | 51 | |
| ||
53 | 54 | |
54 | 55 | |
55 | 56 | |
56 | | - |
| 57 | + |
57 | 58 | |
58 | 59 | |
59 | 60 | |
60 | 61 | |
61 | | - |
| 62 | + |
62 | 63 | |
63 | 64 | |
64 | 65 | |
|
Collapse file
src/test/modules/gin/sql/gin_incomplete_splits.sql
Copy file name to clipboardExpand all lines: src/test/modules/gin/sql/gin_incomplete_splits.sql+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
| 51 | + |
51 | 52 | |
52 | 53 | |
53 | 54 | |
| ||
56 | 57 | |
57 | 58 | |
58 | 59 | |
59 | | - |
| 60 | + |
60 | 61 | |
61 | 62 | |
62 | 63 | |
63 | 64 | |
64 | | - |
| 65 | + |
65 | 66 | |
66 | 67 | |
67 | 68 | |
|
0 commit comments