Commit Graph

160 Commits

Author SHA1 Message Date
d177ee4ba6 *: replace os.MkdirTemp with t.TempDir (#32071)
close pingcap/tidb#32070
2022-01-31 00:13:30 +08:00
f8dc790281 server: fix several unstable test cases when using 'make ut' (#31876)
close pingcap/tidb#30822
2022-01-26 19:18:45 +08:00
2207b26e19 topsql: rename topsql related variable and remove useless variable (#31599)
close pingcap/tidb#31433
2022-01-18 18:15:44 +08:00
06127880e2 test: do not overwrite the log config in other tests (#31019) 2022-01-15 00:13:42 +08:00
8c70432b00 topsql: add exec count dedicated to sql duration (#31378)
close pingcap/tidb#31379
2022-01-08 01:20:38 +08:00
974b5784ad topsql: make topsql enable only be controlled by pub/sub sink (#31209) 2021-12-31 16:49:20 +08:00
25d6301327 *: fix bug of profiling conflict between TopSQL and pprof profile HTTP API (#30891)
close pingcap/tidb#30890
2021-12-31 11:07:50 +08:00
8a83d01ac6 topsql: add sql sum execution duration information (#31143) 2021-12-30 10:53:50 +08:00
c0888f5421 topsql: support multiple datasinks (#30808) 2021-12-18 00:32:36 +08:00
d208b62025 topsql: a centralized place to generate tipb report data (#30781) 2021-12-16 16:06:35 +08:00
e9b1fb8ab5 topsql: introduce datasink interface (#30662) 2021-12-14 19:22:34 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
626dee7250 server: try to make TidbTestSuite more stable (#30643) 2021-12-12 11:39:57 +08:00
53f33fa1a3 server: close sql rows to fix unstable test (#30306) 2021-12-07 12:03:55 +08:00
d7c2333e63 server: Fix unstable tests with FakeAuthSwitch (#30287) 2021-12-06 18:13:55 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
7c5e854f1a privilege,session: Match loopback connections to 'localhost' accounts (#29995) (#30189) 2021-12-01 15:29:53 +08:00
11974ecd2c server: Port missing in processlist (#30183) 2021-11-29 14:11:51 +08:00
b87f9d1768 server: migrate test-infra to testify for tidb_test.go (#29535) 2021-11-23 11:15:50 +08:00
b74c13a898 *: run go fmt in go1.17 (#28784) 2021-11-05 12:33:03 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
64167a000f *: Change default for unix socket (#28486) 2021-10-21 00:16:46 +08:00
a11bb675a1 *: enable golangci-lint asciicheck and bodyclose (#28756) 2021-10-15 16:03:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
c01f1a3c5f config: change tidb_top_sql_agent_address to config top-sql.receiver-address (#28135) 2021-09-22 17:48:45 +08:00
39a1b43666 *: fix some problems related to notNullFlag (#27697) 2021-09-09 11:04:38 +08:00
d5fbf1bf70 server: Fix TestTLSAuto stability (#27744) 2021-09-02 11:54:14 +08:00
d05660c834 config, server, executor: Reduce RSA keysize in testing (#27393) 2021-08-30 14:28:13 +08:00
8a1e9b93e2 server: migrate packetIO related tests to testify (#27042) 2021-08-18 12:39:59 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
da8bb5ea8c server: replace ioutil.TempDir by os.MkdirTemp (#27226) 2021-08-16 09:55:58 +08:00
124b825216 server: Split TestTLS (#27108) 2021-08-13 23:29:58 +08:00
15ca38632a server, test: add missing TearDownSuite() (#26891) 2021-08-04 15:57:07 +08:00
f0d4257ec0 util: Automatically create TLS certificates (#24141) 2021-08-04 15:29:08 +08:00
16d947d7cb server: Add status vars for NotAfter/NotBefore of TLS certs (#26132) 2021-07-21 16:17:35 +08:00
ecfdf703b2 *: make test TestCollectInternal stable (#26346) 2021-07-20 16:27:35 +08:00
84887df9aa privileges: use UPPER case for privileges in SHOW GRANT (#26360) 2021-07-20 13:31:34 +08:00
383fb9a132 server: Unix Domain Socket not setting 'localhost' as host (#25914) 2021-07-06 23:53:29 +08:00
9e8bb505e1 test: make test TestTopSQLCPUProfile stable by mock high cpu usage (#25702) 2021-06-25 19:55:24 +08:00
ddfc0bd8cf *: fix wrong resource tag of transaction commit statement (#25616) 2021-06-23 15:31:22 +08:00
9a2e5f99a6 test: make test TestTopSQLCPUProfile stable by avoid write conflict (#25681) 2021-06-23 11:45:22 +08:00
8c33190dd7 linter: fix linter error when make dev locally (#25661) 2021-06-23 11:19:22 +08:00
9dc8af3d75 test: make test TestTopSQLCPUProfile stable (#25651) 2021-06-22 14:12:53 +08:00
7cafe813a0 server: try to make test TestTopSQLAgent stable (#25399) 2021-06-21 16:38:53 +08:00
5b392334c6 *: temporarily skip some unstable test cases. (#25548) 2021-06-18 14:24:38 +08:00
f4e608b8ba util: improve TopSQL reporter memory efficiency (#25195) 2021-06-11 13:16:35 +08:00
11f68a9d28 planner: skip some unstable test cases (#25155)
* fixup
2021-06-04 17:33:19 +08:00
7811bf9a37 *: use pprof profile to collect CPU time group by SQL and plan digest (#24892) 2021-06-02 12:51:39 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
9c75cfa4e2 server, sessionctx: improved mysql compatibility with support for init_connect (#23713) 2021-04-03 02:45:25 +08:00