-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Makefile: add gotag for make server_check #51057
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #51057 +/- ##
=================================================
- Coverage 72.9567% 57.1887% -15.7680%
=================================================
Files 1611 1771 +160
Lines 447502 670719 +223217
=================================================
+ Hits 326483 383576 +57093
- Misses 100925 262122 +161197
- Partials 20094 25021 +4927
Flags with carried forward coverage won't be shown. Click here to find out more.
|
It's so surprising that some tests failed when we added the gotags. |
/retest |
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.
Maybe need a issue
/retest |
4 similar comments
/retest |
/retest |
/retest |
/retest |
/hold for a while |
@@ -308,7 +308,8 @@ func (e *memtableRetriever) setDataForVariablesInfo(ctx sessionctx.Context) erro | |||
|
|||
func (e *memtableRetriever) setDataForUserAttributes(ctx context.Context, sctx sessionctx.Context) error { | |||
exec := sctx.GetRestrictedSQLExecutor() | |||
chunkRows, _, err := exec.ExecRestrictedSQL(ctx, nil, `SELECT user, host, JSON_UNQUOTE(JSON_EXTRACT(user_attributes, '$.metadata')) FROM mysql.user`) | |||
wrappedCtx := kv.WithInternalSourceType(ctx, kv.InternalTxnOthers) |
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.
It's a missed one. Found by the intest tag.
Signed-off-by: AilinKid <314806019@qq.com>
/retest |
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.
can you separate the flags which is used for UT/FT and changes normal code path and the flag to control whether enable asserts which is harmless. i don't like the idea that we have to use 2 flags to do it for UT/FT
PR needs rebase. 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. |
6a35932
to
cd55796
Compare
… add-test-tag-for-check-bin
cd55796
to
532f689
Compare
lSchema := lChild.Schema() | ||
rSchema := rChild.Schema() | ||
// parentused col = t2.a | ||
// leftChild schema = t1.a(t2.a) + and others | ||
// rightChild schema = t3 related + and others | ||
if join, ok := lChild.(*LogicalJoin); ok { | ||
if join.FullSchema != nil { | ||
lSchema = join.FullSchema | ||
} | ||
} | ||
if join, ok := rChild.(*LogicalJoin); ok { | ||
if join.FullSchema != nil { | ||
rSchema = join.FullSchema | ||
} | ||
} | ||
for _, col := range parentUsedCols { | ||
if lChild.Schema().Contains(col) { | ||
if lSchema != nil && lSchema.Contains(col) { | ||
leftCols = append(leftCols, col) | ||
} else if rChild.Schema().Contains(col) { | ||
} else if rSchema != nil && rSchema.Contains(col) { |
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.
Found by integration test.
9301a21
to
b58586d
Compare
@winoros: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AilinKid, hawkingrei, lance6716, Leavrth, okJiang The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What changed and how does it work?
There's some error check enabled by gotag intest.
And we're moving tests from Golang's unit test to the integration tests. We need to use the binary which is compiled with the gotag.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.