Commit 356e959
fix: proper context lifecycle management in run loop
- Replace defer cancel() with explicit cancel() calls
- Cancel context immediately after each test iteration
- Prevent context accumulation in tight loops
- Address SonarQube reliability rating C -> A1 parent 68cb347 commit 356e959
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | 406 | | |
408 | 407 | | |
409 | 408 | | |
410 | 409 | | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| 422 | + | |
422 | 423 | | |
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
| 427 | + | |
426 | 428 | | |
427 | 429 | | |
428 | 430 | | |
| |||
0 commit comments