Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Add TCK model test for CRDT entities #491

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

pvlugter
Copy link
Member

Add tests for CRDT entities to the TCK. Currently only implemented for Java support, with some small changes: tweaks to LWWRegister, and support for configuring write consistencies.

The TCK test class is getting quite long now. Will follow-up with some reorganisation to break this into multiple files.

And will follow-up with the rename of CRDT Entity to Replicated Entity once this is merged.

@pvlugter
Copy link
Member Author

I'll merge this now, so I can continue building on it for next steps. @marcellanz, just let me know if there are any issues from implementing this, and removing the state setting part of the CRDT protocol.

@pvlugter pvlugter merged commit ab459ef into cloudstateio:master Nov 25, 2020
@pvlugter pvlugter deleted the crdt-tck branch November 25, 2020 04:08
@marcellanz
Copy link
Contributor

@pvlugter thanks for the excellent work on this 👍

I'm down to a few failing test cases and found some bugs and implementation-specific differences too. Great to see the CRDT protocol verified by the TCK to this extent.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants