-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
tests: enable check-error
for integrationtest
#49230
Conversation
Hi @Defined2014. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #49230 +/- ##
================================================
+ Coverage 71.0414% 72.0108% +0.9694%
================================================
Files 1368 1406 +38
Lines 402903 414925 +12022
================================================
+ Hits 286228 298791 +12563
- Misses 96734 97288 +554
+ Partials 19941 18846 -1095
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@mjonss PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xhebox, YangKeao The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -44,13 +44,13 @@ select approx_count_distinct(value collate utf8mb4_bin, value1) from t; | |||
# minMax | |||
create table tt(a char(10), b enum('a', 'B', 'c'), c set('a', 'B', 'c'), d json) collate utf8mb4_general_ci; | |||
insert into tt values ("a", "a", "a", JSON_OBJECT("a", "a")); | |||
--error 1265 | |||
--error 0,1265 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just curious why this? is the error not stable? Using this basically mean that any and no error will be accepted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For new_collation
enabled and disabled the result is different.
@@ -237,7 +234,7 @@ GRANT ALL ON *.* TO 'hasgrant'; | |||
GRANT ALL ON mysql.* TO 'withoutgrant'; | |||
connect (hasgrant,localhost,hasgrant,,); | |||
connection hasgrant; | |||
--error WITHOUT GRANT OPTION | |||
--error 8121 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a tip, one can also use named errors, both the golang constant and the MySQL errno name.
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary: enable
check-error
for mysql-tester and fix some mistakes.What changed and how does it work?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.