Skip to content

Conversation

@darnuria
Copy link
Contributor

It's a bit redundant with test about GtidSet but if it makes sense I can add more.

@darnuria darnuria changed the title Unit test/intervals for GTID Unit testing for GTID/GtidSet Dec 21, 2022
@darnuria
Copy link
Contributor Author

darnuria commented Dec 21, 2022

Had some fun doing in rust the whole GTID thing so I wil contribute back the unit testing + doc. :)

May have also a better algorithm for adding interval and remove interval but prefers finish testings.

@darnuria darnuria force-pushed the unit-test/intervals branch 2 times, most recently from 033666b to 4b6eb39 Compare December 21, 2022 14:27
@darnuria darnuria marked this pull request as ready for review December 21, 2022 14:27
@darnuria
Copy link
Contributor Author

darnuria commented Dec 21, 2022

I think this one is ready for review. I may have left a little bit too much of redundancy in test about add/sub but it will not hurt I suppose.

Edit: Just force-pushed a test for parsing error.

@darnuria darnuria force-pushed the unit-test/intervals branch from 4b6eb39 to 462bf2a Compare December 21, 2022 14:43
- parsing - intervals - sub/add - encode/decode - ordering
@darnuria darnuria force-pushed the unit-test/intervals branch from 462bf2a to cdead05 Compare December 21, 2022 14:50
@julien-duponchelle
Copy link
Owner

Thanks !

@julien-duponchelle julien-duponchelle merged commit 7328e9a into julien-duponchelle:main Dec 29, 2022
@darnuria
Copy link
Contributor Author

Thank for the review time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants