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

Fix intermittent test_profile_plot failure #6456

Merged
merged 1 commit into from
May 27, 2022

Conversation

mrocklin
Copy link
Member

Fixes #6454

cc @graingert for review if you have a moment.

@github-actions
Copy link
Contributor

Unit Test Results

       15 files  ±0         15 suites  ±0   6h 35m 11s ⏱️ + 3m 48s
  2 813 tests ±0    2 734 ✔️ +1    79 💤 ±0  0  - 1 
20 854 runs  ±0  19 921 ✔️  - 2  933 💤 +3  0  - 1 

Results for commit 77dfca6. ± Comparison against base commit 5e9e97f.

@pentschev
Copy link
Member

rerun tests

Note: rerunning gpuCI tests since those errors should be fixed by #6434

@pentschev
Copy link
Member

Wow, 100% pass now, haven't seen that in a while. Very nice! 😄

@mrocklin
Copy link
Member Author

Merging in 24 hours if there are no comments

Comment on lines +28 to +29
while not len(p.source.data["left"]):
await c.submit(slowinc, 1, pure=False, delay=0.1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
while not len(p.source.data["left"]):
await c.submit(slowinc, 1, pure=False, delay=0.1)
await c.submit(slowinc, 1, pure=False, delay=0.1)
while not len(p.source.data["left"]):

Is resubmitting necessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, if the profiler didn't run during the task then we're screwed I think. We want to continuously run stuff until the profiler picks it up and that information arrives on the scheduler.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Makes sense, thanks

Comment on lines +28 to +29
while not len(p.source.data["left"]):
await c.submit(slowinc, 1, pure=False, delay=0.1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Makes sense, thanks

@mrocklin mrocklin merged commit 7cd4c34 into dask:main May 27, 2022
@mrocklin mrocklin deleted the test-profile-plot branch May 27, 2022 14:36
@mrocklin
Copy link
Member Author

Thanks for the review @gjoseph92

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.

flaky test dashboard\tests\test_components.py::test_profile_plot
3 participants