Commit 0753de5
committed
test(e2e): retry dataset downloads in onPrepare
Flaky connectivity to data.kitware.com could fail a single onPrepare
download, leaving .tmp without the dataset and causing specs to fail at
the render-wait step as if WebGL were broken. Retry each download up to
3 times, write atomically via a .part rename so a partial download is
never cached as complete, and check response.ok so an error page is not
saved as DICOM.1 parent a66d1cf commit 0753de5
1 file changed
Lines changed: 34 additions & 3 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
114 | 133 | | |
115 | 134 | | |
116 | 135 | | |
117 | 136 | | |
118 | 137 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
122 | 153 | | |
123 | 154 | | |
124 | 155 | | |
| |||
0 commit comments