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

SQL: fix test on incompatible client versions #56234

Merged

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.

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.
@bpintea bpintea added >bug >non-issue >test Issues or PRs that are addressing/adding tests :Analytics/SQL SQL querying v8.0.0 v7.8.0 labels May 5, 2020
@bpintea bpintea requested review from costin, astefan and matriv May 5, 2020 19:30
@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
Copy link
Member

@costin costin left a comment

Choose a reason for hiding this comment

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

LGTM

@bpintea
Copy link
Contributor Author

bpintea commented May 5, 2020

@elasticmachine run elasticsearch-ci/2

@bpintea bpintea merged commit 4a81c8f into elastic:master May 5, 2020
@bpintea bpintea deleted the fix_test/exhaustive_incompat_versions branch May 5, 2020 20:25
bpintea added a commit to bpintea/elasticsearch that referenced this pull request May 5, 2020
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 added a commit that referenced this pull request May 5, 2020
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 added a commit that referenced this pull request May 27, 2020
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 the v7.7.1 label May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying >bug >non-issue Team:QL (Deprecated) Meta label for query languages team >test Issues or PRs that are addressing/adding tests v7.7.1 v7.8.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants