Commit 1e74738
committed
test(desktop): assert the retry delays, not just their order
The backoff test compared the delay helper against itself and checked only
that the second wait was longer than the first, so a 0ms/1ms backoff would
have passed while retrying faster than a registry propagates.
Assert the five- and twenty-second delays directly.1 parent 8451391 commit 1e74738
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
0 commit comments