Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set lower tick frequency in tests #5977

Merged
merged 5 commits into from
Mar 24, 2022
Merged

Conversation

mrocklin
Copy link
Member

Possible alleviation of the pain mentioned in #5908

@github-actions
Copy link
Contributor

github-actions bot commented Mar 22, 2022

Unit Test Results

       12 files  ±0         12 suites  ±0   7h 42m 42s ⏱️ + 22m 59s
  2 669 tests ±0    2 587 ✔️  - 1    82 💤 +2  0  - 1 
15 926 runs  ±0  15 064 ✔️  - 4  862 💤 +5  0  - 1 

Results for commit ec7d622. ± Comparison against base commit 0da6d50.

♻️ This comment has been updated with latest results.

@mrocklin
Copy link
Member Author

@graingert it would be good to know if this alleviates the pain that you were seeing in #5908 if you have the time tomorrow

Comment on lines 1773 to 1778
dask.config.set(
{
"distributed.comm.timeouts.connect": "5s",
"distributed.admin.tick.interval": "500 ms",
}
)
Copy link
Member

Choose a reason for hiding this comment

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

This config setting is not side effect free, i.e. it doesn't reset itself properly afterwards. That causes tests to run with different configurations depending on the order of test execution.
I tried to fix it earlier but that causes many other failures. I'd prefer not adding more config params to this

Copy link
Member Author

Choose a reason for hiding this comment

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

I was curious why we weren't using the context manager here. I'd be tempted to use it and see what happens. I'm going to push up a commit now to see what breaks. Probably I'm walking down a bad path, but we'll see what happens :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Tests seem happy here. Do you still have concerns? I wouldn't be surprised to learn that there was untested conflicts somewhere, but I'm hoping not :)

Copy link
Member

Choose a reason for hiding this comment

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

if the tests are happy, I'm happy. this is how it is supposed to be after all

@fjetter fjetter merged commit 0e8f2f1 into dask:main Mar 24, 2022
@mrocklin mrocklin deleted the slow-tick-tests branch March 24, 2022 15:08
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.

None yet

2 participants