← Về thư mục
tests/test_cell_watchdog.py
- FakeKernel · class · L13-L41 — class FakeKernel
- init · method · L14-L21 — def init(self) -> None
- is_alive · method · L23-L24 — def is_alive(self) -> bool
- interrupt · method · L26-L28 — def interrupt(self) -> None
- kill_worker · method · L30-L33 — def kill_worker(self) -> None
- restart · method · L35-L37 — def restart(self) -> None
- shutdown · method · L39-L41 — def shutdown(self) -> None
- _lease · function · L44-L48 — def _lease()
- test_policy_reads_timeout_dynamically_and_invalid_values_fall_back · function · L51-L61 — def test_policy_reads_timeout_dynamically_and_invalid_values_fall_back()
- test_fast_result_and_original_exception_pass_through · function · L64-L87 — def test_fast_result_and_original_exception_pass_through()
- fail · function · L81-L82 — def fail(worker)
- test_permission_pause_freezes_timeout_budget · function · L90-L116 — def test_permission_pause_freezes_timeout_budget()
- run · function · L95-L97 — def run(worker)
- paused · function · L99-L104 — def paused() -> bool
- test_sigint_can_finish_without_resetting_the_namespace · function · L119-L143 — def test_sigint_can_finish_without_resetting_the_namespace()
- run · function · L124-L126 — def run(worker)
- test_cancellation_cuts_through_permission_pause_with_one_interrupt · function · L146-L171 — def test_cancellation_cuts_through_permission_pause_with_one_interrupt()
- run · function · L151-L153 — def run(worker)
- test_cancellation_hard_stop_is_not_reported_as_a_timeout · function · L174-L204 — def test_cancellation_hard_stop_is_not_reported_as_a_timeout()
- run · function · L182-L184 — def run(worker)
- test_hard_kill_restarts_exact_lease_and_runs_bootstrap · function · L207-L235 — def test_hard_kill_restarts_exact_lease_and_runs_bootstrap()
- run · function · L213-L215 — def run(worker)
- test_host_call_zombie_is_abandoned_without_touching_a_future_worker · function · L238-L267 — def test_host_call_zombie_is_abandoned_without_touching_a_future_worker()
- run · function · L242-L244 — def run(worker)
- test_bootstrap_failure_detaches_the_restarted_generation · function · L270-L305 — def test_bootstrap_failure_detaches_the_restarted_generation()
- run · function · L280-L282 — def run(worker)
- broken_bootstrap · function · L284-L285 — def broken_bootstrap(worker)
- test_local_respawn_failure_is_a_cleared_but_unavailable_namespace · function · L308-L346 — def test_local_respawn_failure_is_a_cleared_but_unavailable_namespace()
- run · function · L319-L321 — def run(worker)
- failed_local_respawn · function · L323-L326 — def failed_local_respawn()
- test_a_worker_that_cannot_be_respawned_is_not_reported_as_reset · function · L349-L387 — def test_a_worker_that_cannot_be_respawned_is_not_reported_as_reset()
- _refuse_restart · function · L365-L367 — def _refuse_restart()
- run · function · L371-L373 — def run(worker)
- test_a_real_reset_still_says_so · function · L390-L412 — def test_a_real_reset_still_says_so()
- run · function · L397-L399 — def run(worker)
- test_an_undelivered_interrupt_does_not_buy_a_grace_period · function · L415-L449 — def test_an_undelivered_interrupt_does_not_buy_a_grace_period()
- test_a_delivered_interrupt_still_gets_its_grace_period · function · L452-L479 — def test_a_delivered_interrupt_still_gets_its_grace_period()