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

Unit test for CBL-4841 #209

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Unit test for CBL-4841 #209

merged 1 commit into from
Aug 29, 2023

Conversation

bmeike
Copy link
Contributor

@bmeike bmeike commented Aug 29, 2023

This is a unit test for CBL-4841.
A logic bug caused any document replicated in a pull replication to be scheduled for conflict resolution.

@bmeike bmeike requested review from pasin and borrrden August 29, 2023 00:20
@bmeike bmeike self-assigned this Aug 29, 2023
@borrrden
Copy link
Member

borrrden commented Aug 29, 2023

I don't think that this issue has enough information inside of it. It's the same argument as not writing a link only answer in Stack Overflow (if the link is ever gone for whatever reason, you lose context about what happened).

@bmeike
Copy link
Contributor Author

bmeike commented Aug 29, 2023

You seem to be saying that this test, even with its copious comments and reference to the bug for which it is a test, should not be part of the codebase. I am honestly speechless.

Here it is in Kotlin. See if that's clearer.

@borrrden
Copy link
Member

borrrden commented Aug 29, 2023

I said no such thing, I am just speaking regarding the comments on the commit / PR itself. In my opinion it should contain information on what CBL-4841 is and what the test tests to fix it. The test itself looks fine.

@bmeike
Copy link
Contributor Author

bmeike commented Aug 29, 2023

Ahh! I see. I completely misunderstood what you were talking about.

Fixing now.

@bmeike bmeike merged commit bbec56d into master Aug 29, 2023
@bmeike bmeike deleted the pr/CBL-4841 branch August 29, 2023 23:34
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.

3 participants