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 tests for collection "indexing" settings #178

Merged
merged 5 commits into from
Feb 1, 2024
Merged

Conversation

hemidactylus
Copy link
Collaborator

This PR adds two test on two new collections created with different non-default indexing settings: one is allow-list based, the other is deny-list based. Various filters are tested and it is verified they work (or don't) as expected.

I did not deem it necessary to double these tests in the async half of tests.

Tested in dev, 100% pass.
Do not merge yet, until the indexing makes it to prod.

Note: with these, the collections used in the test are now five. To avoid the "too many collections" error breaking the create-and-then-destroy-collection tests, these two are scoped to function (there are only 1 function using each of the two, anyway). In case deletions are suspended, no problem again since the tests at risk would be skipped.

@hemidactylus hemidactylus added the do_not_merge Don't merge yet! label Jan 30, 2024
@hemidactylus hemidactylus removed the do_not_merge Don't merge yet! label Jan 31, 2024
@hemidactylus
Copy link
Collaborator Author

Update: 1.0.0-RC3 is in prod now, which has full support for indexing. Tests indeed all pass.

@hemidactylus hemidactylus added the do_not_merge Don't merge yet! label Jan 31, 2024
@hemidactylus
Copy link
Collaborator Author

Still having local test issues, out of caution I'll come back to this before merging, sorry

@hemidactylus hemidactylus removed the do_not_merge Don't merge yet! label Feb 1, 2024
Copy link
Collaborator

@erichare erichare left a comment

Choose a reason for hiding this comment

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

LGTM :)

@erichare erichare merged commit dad8385 into master Feb 1, 2024
2 checks passed
@erichare erichare deleted the SL-add-indexing-test branch February 1, 2024 16:31
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.

None yet

2 participants