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 print jobs incorrectly marked as finished even though some layers were not #45

Merged
merged 4 commits into from
Nov 23, 2021

Conversation

jahow
Copy link
Member

@jahow jahow commented Nov 23, 2021

This was due to an oversight in progress rounding logic. Added a failing test fixed by this change.

Also added unrelated unit tests for the new GeoJSON layer that was added in #42 and #44.

…plete

Without this, a job progress can happen to be 1 even when 1 out of 20 layers
is not finished due to rounding errors.
Also modified assertions in other test since `expect.anyContaining({})`
will match `null`!
Copy link
Member

@LHBruneton-C2C LHBruneton-C2C left a comment

Choose a reason for hiding this comment

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

Looking good, thanks! Only some minor comments.

@jahow jahow merged commit 9e55a9e into master Nov 23, 2021
@jahow jahow deleted the fix-20-layers-limit branch November 23, 2021 14:58
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