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

CBG-4265 avoid panic in rosmar xdcr tests #7231

Merged
merged 6 commits into from
Dec 9, 2024
Merged

Conversation

torcolvin
Copy link
Collaborator

@torcolvin torcolvin commented Dec 6, 2024

  • return an error if xdcr is already running when Start is called, or
    already stopped when Stop is called
  • allow rosmar xdcr to be restarted via Start/Stop/Start by resetting
    terminator
  • don't return empty topology in Topologies which causes test panic
  • enable rosmar multi actor conflict tests
  • remove a test that is a duplicate of existing test

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

I'm waiting to understand why XDCR tests are failing with jenkins, which I do not think is related to the content of this commit:

Integration Tests

- return an error if xdcr is already running when Start is called, or
  already stopped when Stop is called
- allow rosmar xdcr to be restarted via Start/Stop/Start by resetting
  terminator
- don't return empty topology in Topologies which causes test panic
- enable rosmar multi actor conflict tests
- remove a test that is a duplicate of existing test
@adamcfraser adamcfraser merged commit 113a4ef into release/anemone Dec 9, 2024
34 of 36 checks passed
@adamcfraser adamcfraser deleted the CBG-4265 branch December 9, 2024 21:30
bbrks pushed a commit that referenced this pull request Dec 17, 2024
* CBG-4265 avoid panic in rosmar xdcr tests

- return an error if xdcr is already running when Start is called, or
  already stopped when Stop is called
- allow rosmar xdcr to be restarted via Start/Stop/Start by resetting
  terminator
- don't return empty topology in Topologies which causes test panic
- enable rosmar multi actor conflict tests
- remove a test that is a duplicate of existing test

* lock setting up collections in the case that dcp feed is running when stopping and starting very quickly

* switch to require and CollectT

* improve debug message

* skip test with cbs
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