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 test to ignore extra warnings from later versions of distributed. #5600

Merged

Conversation

pp-mo
Copy link
Member

@pp-mo pp-mo commented Nov 22, 2023

To fix #5547 problem

It seems that, when dask/distributed version 2023.9.3 --> 2023.11.0, some of our testcases trigger an additional warning about transferring large data to workers (only when using distributed).

I've confirmed that this isn't a new inefficiency : The test takes around 5 seconds via distributed, compared to 1 sec with a threaded or synchronous scheduler, and that performance hit is basically the same both before + after the version change.
So I guess it is just a new warning.

The tests that fail are testing the exact "data fill" warnings issued when saving to netcdf.
This PR gets the offending tests to explicitly ignore any warnings which look like that new message.

Copy link

codecov bot commented Nov 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (auto-update-lockfiles@f87b2e5). Click here to learn what that means.

Additional details and impacted files
@@                   Coverage Diff                    @@
##             auto-update-lockfiles    #5600   +/-   ##
========================================================
  Coverage                         ?   89.45%           
========================================================
  Files                            ?       89           
  Lines                            ?    22603           
  Branches                         ?     5389           
========================================================
  Hits                             ?    20219           
  Misses                           ?     1638           
  Partials                         ?      746           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@trexfeathers trexfeathers left a comment

Choose a reason for hiding this comment

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

Thanks for your diligence, @pp-mo!

@trexfeathers trexfeathers merged commit 74577ad into SciTools:auto-update-lockfiles Nov 22, 2023
17 checks passed
trexfeathers pushed a commit that referenced this pull request Nov 22, 2023
* Updated environment lockfiles

* Fix test to ignore extra warnings from later versions of distributed. (#5600)

---------

Co-authored-by: Lockfile bot <[email protected]>
Co-authored-by: Patrick Peglar <[email protected]>
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.

2 participants