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 test on incompatible client versions (#56234) #56241

Merged
merged 1 commit into from
May 5, 2020

Conversation

bpintea
Copy link
Contributor

@bpintea bpintea commented May 5, 2020

The incompatible client version test is changed to:

  • iterate on all versions prior to the allowed one_s;
  • format the exception message just as the server does it.

The defect stemmed from the fact that the clients will not send a
version's qualifier, but just major.minor.revision, so the raised
error/exception_message won't contain it, while the test expected it.

(cherry picked from commit 4a81c8f)

The incomatible client version test is changed to:
- iterate on all versions prior to the allowed one_s;
- format the exception message just as the server does it.

The defect stemed from the fact that the clients will not send a
version's qualifier, but just major.minor.revision, so the raised
error/exception_message won't contain it, while the test expected it.

(cherry picked from commit 4a81c8f)
@bpintea bpintea added >bug >non-issue >test Issues or PRs that are addressing/adding tests :Analytics/SQL SQL querying backport v7.8.0 labels May 5, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (:Query Languages/SQL)

@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label May 5, 2020
@bpintea bpintea merged commit f159fd8 into elastic:7.x May 5, 2020
@bpintea bpintea deleted the port/7.x_56234 branch May 5, 2020 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying backport >bug >non-issue Team:QL (Deprecated) Meta label for query languages team >test Issues or PRs that are addressing/adding tests v7.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants