-
Notifications
You must be signed in to change notification settings - Fork 94
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
Run NetCDF dependent tests in serial due to crashing on MacOS. #320
Conversation
@ChristianBeilschmidt Is it worth seeing if #299 goes away if HDF5 files were used in the tests instead of NetCDF files? I'm assuming GDAL's HDF5 support is similar/same to NetCDF here. |
Not this again 😩... TBH, I'm not too happy about this because of the amount of code that gets pulled in. At least I guess we're already using Can we make a static mutex and synchronize using that? |
@lnicola |
Well, I'm not going to block merging this PR because of it.
Yes, but, but I prefer to avoid what seems like gratuitous dependencies, especially proc macros:
I'll agree, each of these is a pretty minor concern in isolation. But I don't think using it is worth its weight in this case.
|
@lnicola Yikes! Thanks for explaining. I only looked at the first layer of dependencies shown in crates.io. Lesson learned. Would be good to not even have this problem. Here are the options I see so far:
All in all, I think the goal here is to make testing as easy a possible for contributors. We already have two features (this and the If a feature can't be tested on all platforms, should it be behind a feature/target flag? |
I'd rather try HDF5 (good idea) or even Zarr (surely that won't have any threading issues!). We're not testing GDAL here. But in the meanwhile a mutex might be good enough. |
@ChristianBeilschmidt: thoughts? |
@lnicola Yes, MacOS, |
Fixed by #321 |
CHANGES.md
if knowledge of this change could be valuable to users.Attempted workaround for #299. After change,
mdarray
tests no longer seem to stack overflow orSIGSEGV
on MacOS (aarch64
).Edit: not claiming this solves the real problem here, but running tests locally during development is really hampered by this bug.