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

Solr 9.6 → 9.7 for integration tests #1133

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

thomascorthals
Copy link
Member

Three changes to get the integration tests working with Solr 9.7:

  • Small change in the schema regarding docValues.
  • Returned field order has changed for some queries. Since this field order was actually never guaranteed (we got lucky until now), I've replaced all assertions for document fields with a custom assertDocumentHasFields() method that disregards field order.
  • Managed resources still need double percent-encoding, but the way a request fails if you don't apply that workaround has changed.

@thomascorthals
Copy link
Member Author

The release of Solr 8.11.4 requires the same change to the test for the managed resources workaround that was already included in this PR. This actually simplifies things as we no longer need the old version of the test at all now.

@mkalkbrenner mkalkbrenner merged commit 9cdf3dd into solariumphp:master Oct 9, 2024
26 checks passed
@thomascorthals thomascorthals deleted the integration branch October 9, 2024 15:28
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