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

Fix #686: add ITs to verify Max-String-Value-Length constaints #687

Merged
merged 26 commits into from
Dec 8, 2023

Conversation

tatu-at-datastax
Copy link
Contributor

@tatu-at-datastax tatu-at-datastax commented Nov 29, 2023

What this PR does:

Adds Integration tests checking handling of both too-long-String-values and as-long-as-possible-String values (already have unit tests)

NOTE: limit of 8kB defined with overrides will become default for Astra too, although current limit is 5KB. But this change is safe since we formerly allowed 16,000 character Strings so we are getting closer to accurate limits for JSON API.

Which issue(s) this PR fixes:
Fixes #686

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax tatu-at-datastax self-assigned this Nov 29, 2023
@tatu-at-datastax tatu-at-datastax marked this pull request as ready for review November 29, 2023 22:29
@tatu-at-datastax tatu-at-datastax requested a review from a team as a code owner November 29, 2023 22:29
@tatu-at-datastax tatu-at-datastax marked this pull request as draft November 30, 2023 16:56
@tatu-at-datastax tatu-at-datastax marked this pull request as ready for review December 1, 2023 00:29
@tatu-at-datastax
Copy link
Contributor Author

Not having much success: updated dse-next version; next will get a new Stargate 2.1 build to try to get limits-enforcement by backend working as it should.

Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

LGTM

@tatu-at-datastax tatu-at-datastax merged commit 10fde87 into main Dec 8, 2023
3 checks passed
@tatu-at-datastax tatu-at-datastax deleted the tatu/686-max-string-length-IT branch December 8, 2023 21:43
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.

Add IT for maximum String value length
2 participants