Commit 9e2a69c
committed
[lldb-dap] Make TestDAP_Progress more resilient (again)
Before #134048, TestDAP_Progress would wait up to 15 seconds before
checking whether the events came in. Now the test is a lot faster, but
we risk checking the events before they've all arrived. Make up to 10
attempts to find the end event, with a 100ms sleep in between, giving
the test up to a second for the event to arrive after it has been
broadcast.1 parent 4b67c53 commit 9e2a69c
1 file changed
+18
-5
lines changedLines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
23 | 38 | | |
24 | 39 | | |
25 | | - | |
26 | 40 | | |
27 | 41 | | |
28 | 42 | | |
| |||
38 | 52 | | |
39 | 53 | | |
40 | 54 | | |
41 | | - | |
42 | | - | |
43 | 55 | | |
44 | 56 | | |
45 | 57 | | |
46 | | - | |
| 58 | + | |
| 59 | + | |
47 | 60 | | |
48 | 61 | | |
49 | 62 | | |
| |||
0 commit comments