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

Add integration tests #2

Open
4 tasks
alexashley opened this issue May 14, 2021 · 0 comments
Open
4 tasks

Add integration tests #2

alexashley opened this issue May 14, 2021 · 0 comments

Comments

@alexashley
Copy link
Contributor

scenarios:

  • single index, handful of documents: after the migration, the source index should be gone and all documents should exist in the new index
  • induce an artificial failure after each step, the migration should still complete successfully
  • multiple migrations begin running at the same time
  • multiple migrations with a staggered start

To make triggering the migrations easier, we could use fstest.MapFS to point the index manager at an in-memory filesystem (this is already done in the tests for MappingsRegistry).

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

No branches or pull requests

1 participant