forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2268e6a
committed
Fix isolation test to be less timing-dependent
I did this by adding another locking process, which makes the other twowait. This way the output should be stable enough.Per buildfarm and Andres FreundDiscussion:https://postgr.es/m/20180103034445.t3utrtrnrevfsghm@alap3.anarazel.de1 parent9d4649c commit2268e6a
File tree
2 files changed
+19
-10
lines changed- src/test/isolation
- expected
- specs
2 files changed
+19
-10
lines changedLines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 |
| |
5 | 8 |
| |
6 | 9 |
| |
| |||
11 | 14 |
| |
12 | 15 |
| |
13 | 16 |
| |
14 |
| - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 |
| |
| 22 | + | |
16 | 23 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
| 24 | + |
Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
| 29 | + | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + |
0 commit comments
Comments
(0)