Repository navigation
Commit 0e58508
test: Use an instant stand-in process in the worker-exit test
The spawned metrics server did not come up within 30 s inside the full
unit suite on macOS CI. The test is about the process surviving a
forked child's exit, not about serving HTTP, so register a fork-context
daemon process via start_metrics_server instead and assert it is still
alive after the child runs multiprocessing.util._exit_function().
Without the fix it is terminated (exitcode -SIGTERM).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexandr Borgatin <a.borgatin@yandex.ru>1 parent 2d0d723 commit 0e58508
1 file changed
Lines changed: 16 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
| 655 | + | |
655 | 656 | | |
656 | 657 | | |
657 | 658 | | |
658 | 659 | | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
668 | 664 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
| 665 | + | |
| 666 | + | |
678 | 667 | | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
679 | 677 | | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | 678 | | |
692 | 679 | | |
693 | 680 | | |
| |||
697 | 684 | | |
698 | 685 | | |
699 | 686 | | |
700 | | - | |
701 | 687 | | |
702 | 688 | | |
703 | 689 | | |
| |||
0 commit comments