Skip to content

Wait for pending changes after doc updates #7690

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

Merged
merged 2 commits into from
Aug 19, 2025
Merged

Conversation

gregns1
Copy link
Contributor

@gregns1 gregns1 commented Aug 19, 2025

CBG-0000

  • Add wait for pending changes for reconcile rev tree tests

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Dependencies (if applicable)

  • Link upstream PRs
  • Update Go module dependencies when merged

Integration Tests

@Copilot Copilot AI review requested due to automatic review settings August 19, 2025 09:42
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds synchronization improvements to replicator revision tree tests by introducing wait calls for pending changes after document updates. The changes ensure that document updates are fully processed before continuing with replication operations, which should improve test reliability.

Key changes:

  • Added WaitForPendingChanges() calls after document updates in replicator tests
  • Enhanced logging by adding base.KeyHTTPResp to test setup

@torcolvin torcolvin merged commit a8c4c73 into main Aug 19, 2025
25 checks passed
@torcolvin torcolvin deleted the rev-tree-test-flake branch August 19, 2025 15:15
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