forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbd0c44b
committed
Improve isolationtester's timeout management.
isolationtester.c had a hard-wired limit of 3 minutes per test step.It now emerges that this isn't quite enough for some of the slowestbuildfarm animals. This isn't the first time we've had to raisethis limit (cf.1db439a), so let's make it configurable. Thispatch raises the default to 5 minutes, and introduces an environmentvariable PGISOLATIONTIMEOUT that can be set if more time is needed,following the precedent of PGCTLTIMEOUT.Also, modify isolationtester so that when the timeout is hit,it explicitly reports having sent a cancel. This makes the regressionfailure log considerably more intelligible. (In the worst case, atimed-out test might actually be reported as "passing" without thisextra output, so arguably this is a bug fix in itself.)In passing, update the README file, which had apparently not gottentouched when we added "make check" support here.Back-patch to 9.6; older versions don't have comparable timeout logic.Discussion:https://postgr.es/m/22964.1575842935@sss.pgh.pa.us1 parent2ab5c03 commitbd0c44b
2 files changed
+48
-14
lines changedLines changed: 21 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 |
| |
20 | 24 |
| |
21 | 25 |
| |
22 | 26 |
| |
23 | 27 |
| |
24 | 28 |
| |
| 29 | + | |
| 30 | + | |
25 | 31 |
| |
| 32 | + | |
| 33 | + | |
26 | 34 |
| |
27 | 35 |
| |
28 | 36 |
| |
| |||
39 | 47 |
| |
40 | 48 |
| |
41 | 49 |
| |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
42 | 55 |
| |
43 | 56 |
| |
44 | 57 |
| |
| |||
108 | 121 |
| |
109 | 122 |
| |
110 | 123 |
| |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
115 | 128 |
| |
116 | 129 |
| |
117 | 130 |
| |
|
Lines changed: 27 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 |
| |
38 | 42 |
| |
39 | 43 |
| |
| |||
67 | 71 |
| |
68 | 72 |
| |
69 | 73 |
| |
| 74 | + | |
70 | 75 |
| |
71 | 76 |
| |
72 | 77 |
| |
| |||
111 | 116 |
| |
112 | 117 |
| |
113 | 118 |
| |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
114 | 127 |
| |
115 | 128 |
| |
116 | 129 |
| |
| |||
782 | 795 |
| |
783 | 796 |
| |
784 | 797 |
| |
785 |
| - | |
| 798 | + | |
786 | 799 |
| |
787 | 800 |
| |
788 | 801 |
| |
789 | 802 |
| |
790 | 803 |
| |
791 | 804 |
| |
792 | 805 |
| |
793 |
| - | |
| 806 | + | |
794 | 807 |
| |
795 | 808 |
| |
796 | 809 |
| |
| |||
799 | 812 |
| |
800 | 813 |
| |
801 | 814 |
| |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
802 | 822 |
| |
| 823 | + | |
803 | 824 |
| |
804 | 825 |
| |
805 | 826 |
| |
806 | 827 |
| |
807 | 828 |
| |
808 | 829 |
| |
809 | 830 |
| |
810 |
| - | |
| 831 | + | |
811 | 832 |
| |
812 | 833 |
| |
813 | 834 |
| |
814 | 835 |
| |
815 | 836 |
| |
816 |
| - | |
| 837 | + | |
817 | 838 |
| |
818 |
| - | |
819 |
| - | |
| 839 | + | |
| 840 | + | |
820 | 841 |
| |
821 | 842 |
| |
822 | 843 |
| |
|
0 commit comments
Comments
(0)