Commit d7a86ec
Fix hanging test in test_tasks_aircraft_stream.py
- Set AIRCRAFT_STREAM_BATCH_MS=0 in test_stream_processes_json_lines
to ensure broadcast happens immediately instead of waiting for batch
interval (which caused infinite loop when iterator exhausted)
- Fix assertion to expect at least 1 normalized call (KeyboardInterrupt
is raised after first broadcast)
- Remove invalid patch.object in test_hot_path_does_not_touch_database
(AircraftSighting not imported at module level)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c8ecc8d commit d7a86ec
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
| 507 | + | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
| 540 | + | |
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
| |||
611 | 612 | | |
612 | 613 | | |
613 | 614 | | |
614 | | - | |
615 | | - | |
616 | 615 | | |
617 | 616 | | |
618 | 617 | | |
619 | 618 | | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
624 | 622 | | |
625 | 623 | | |
626 | 624 | | |
| |||
0 commit comments