Skip to content

Conversation

@gjoseph92
Copy link
Collaborator

Progress towards #6387.

Also closes #6494, though #6504 fixes it too.

cc @jrbourbeau @fjetter @hendrikmakait

  • Tests added / passed
  • Passes pre-commit run --all-files

@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2022

Unit Test Results

       15 files  ±0         15 suites  ±0   6h 21m 5s ⏱️ - 10m 25s
  2 837 tests +1    2 755 ✔️ +1    81 💤 ±0  0  - 1  1 🔥 +1 
21 025 runs  +9  20 077 ✔️ +6  947 💤 +3  0  - 1  1 🔥 +1 

For more details on these errors, see this check.

Results for commit 14efd3d. ± Comparison against base commit 6d85a85.

@gjoseph92
Copy link
Collaborator Author

@gjoseph92 gjoseph92 self-assigned this Jun 6, 2022
Copy link
Member

@hendrikmakait hendrikmakait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, feel free to ignore the nit.

Worker=Nanny,
worker_kwargs={"heartbeat_interval": "1ms"},
)
async def test_heartbeat_missing_restarts(c, s: Scheduler, n: Nanny):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Emphasize that we test for the status missing, not a heartbeat that went missing.

Suggested change
async def test_heartbeat_missing_restarts(c, s: Scheduler, n: Nanny):
async def test_heartbeat_status_missing_restarts(c, s: Scheduler, n: Nanny):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

client.restart() may cause workers to shut down instead of restarting

4 participants