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

Add persistence serialization unit tests #5507

Merged
merged 6 commits into from
Dec 20, 2023

Conversation

3vilhamster
Copy link
Member

@3vilhamster 3vilhamster commented Dec 19, 2023

What changed?
Added tests for serialization logic in persistence layer.

On the side, found that IsCron flag was not set when extracting result from sql level.

Also, removed empty protoDecoder and protoEncoder. No methods implemented, we should reintroduce them once we will have plans for the implementation.

Why?
To improve test coverage.

How did you test it?
unit tests

Potential risks

Release notes

Documentation Changes

@3vilhamster
Copy link
Member Author

Coverage increase from 48.5% to 85.9%

Screenshot 2023-12-20 at 00 38 52

@3vilhamster 3vilhamster enabled auto-merge (squash) December 20, 2023 09:59
@3vilhamster 3vilhamster merged commit 69675a8 into cadence-workflow:master Dec 20, 2023
16 checks passed
@3vilhamster 3vilhamster deleted the serialization-units branch December 20, 2023 10:26
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