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
Choose square nav_shape
if detected num_frames
is square (web-only)
#1338
Conversation
/azp run libertem.libertem-data |
Azure Pipelines successfully started running 1 pipeline(s). |
Test failure could be related to our quite low Increasing this value should only influence the run time of tests that handle exceptions, or where the workers for some reason take a long time to die on |
/azp run libertem.libertem-data |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov ReportBase: 67.70% // Head: 67.72% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1338 +/- ##
==========================================
+ Coverage 67.70% 67.72% +0.01%
==========================================
Files 299 299
Lines 16458 16468 +10
Branches 2822 2825 +3
==========================================
+ Hits 11143 11153 +10
Misses 4875 4875
Partials 440 440
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Seems to have done the trick, though I guess this is a random failure rather than consistent. Might be worth an issue ? (I don't 100% understand the effect of |
Great!
I think this is mostly a matter of making the timeout work with the worst case scenario of our test cases, which this change should take care of. In general, the pipelined executor does have some weird behavior regarding cancellation, but this is most likely a problem in the offline processing case, where many tasks can be queued up for each worker, meaning cancellation only happens once the in-flight tasks are cleaned out of the queues. In the live case, the queues should be short enough to not cause issues on cancellation. I think we have to gain some more practical experience - if we do get timeout issues in practical usage, too, we may want to adjust the default timeout. |
Fixes #1309
Required updating tests for MIB and MRC
detect_params
. Quite difficult to test this for the other datasets affected as we don't necessarily have data recorded on a square nav grid (apart from mocking the data).Contributor Checklist:
Reviewer Checklist:
/azp run libertem.libertem-data
passed