- Notifications
You must be signed in to change notification settings - Fork5
Commitd03130d
committed
Still further tweaking of deadlock isolation tests.
It turns out that there is a second race condition in the new deadlock-hardtest: once the deadlock detector fires, it's uncertain whether step s7a8 orstep s8a1 will report first, because killing s8's transaction unblocks s7.So far, s7 has only been seen to report first in CLOBBER_CACHE_ALWAYSbuilds, but it's pretty reproducible there, and in theory it shouldsometimes occur in normal builds too. If s7 were a bit slower than usual,that could also break the test, since the existing expected-file assumesthat we'll see s7a8 report the first time we check it after s8a1 completes.To fix, add a post-lock delay to s7a8.1 parent9c9782f commitd03130d
File tree
2 files changed
+10
-5
lines changed- src/test/isolation
- expected
- specs
2 files changed
+10
-5
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
| 21 | + | |
23 | 22 |
| |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 |
| |
25 | 28 |
| |
26 | 29 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
| |||
59 | 61 |
| |
60 | 62 |
| |
61 | 63 |
| |
62 |
| - | |
| 64 | + | |
63 | 65 |
| |
64 | 66 |
| |
65 | 67 |
| |
|
0 commit comments
Comments
(0)