Commit 70a2bd4
committed
fix: prevent E2E test artifact leaks on TrueNAS
Adoption tests were silently ignoring cleanup errors (using `_ =`),
causing NVMe-oF subsystems, iSCSI targets/extents, and NFS shares to
accumulate on TrueNAS across CI runs.
- NVMe-oF/iSCSI adoption test 1: remove manual TrueNAS cleanup and let
framework PVC cleanup trigger CSI DeleteVolume for proper cleanup
- All "markAdoptable" tests: replace `_ =` with Expect error checking
- iSCSI retain test: add missing target/extent cleanup before ZVOL
deletion (NVMe-oF and NFS retain tests already did this)1 parent 589fb98 commit 70a2bd4
File tree
4 files changed
+23
-26
lines changed- tests/e2e
- iscsi
- nfs
- nvmeof
4 files changed
+23
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
228 | 220 | | |
229 | 221 | | |
230 | 222 | | |
| |||
296 | 288 | | |
297 | 289 | | |
298 | 290 | | |
299 | | - | |
300 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
301 | 295 | | |
302 | 296 | | |
303 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
| |||
139 | 147 | | |
140 | 148 | | |
141 | 149 | | |
142 | | - | |
| 150 | + | |
143 | 151 | | |
144 | 152 | | |
145 | 153 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
228 | 221 | | |
229 | 222 | | |
230 | 223 | | |
| |||
298 | 291 | | |
299 | 292 | | |
300 | 293 | | |
301 | | - | |
| 294 | + | |
| 295 | + | |
302 | 296 | | |
303 | 297 | | |
304 | 298 | | |
| |||
0 commit comments