Commit 7d51e97
committed
refactor: improve error messages in e2e_tests get_instance_ip function
Separate error handling for instance existence vs IP assignment.
Now provides explicit error messages distinguishing between:
- Instance not found in LXD
- Instance exists but has no IPv4 address assigned
- LXD query failures
This improves debugging experience during E2E test failures.1 parent 30b33e8 commit 7d51e97
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
319 | 321 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
325 | 331 | | |
326 | 332 | | |
327 | 333 | | |
| |||
0 commit comments