Commit Graph

125 Commits

Author SHA1 Message Date
2c4c5bbf76 tools/ut: skip Lightning tests in make ut (#52341)
ref pingcap/tidb#52182
2024-04-07 01:55:49 +00:00
a57ebeb75a lightning: move tests out of br (#52289)
ref pingcap/tidb#52182
2024-04-02 04:24:23 +00:00
9241078902 tools/check: close junit file (#52149) 2024-03-28 03:47:18 +00:00
50eedac21e *: fix duplicate panel ids in tidb.json & add a duplicate id checker (#51568)
close pingcap/tidb#51556
2024-03-07 04:41:12 +00:00
2558b0c307 *: fix make ut fail (#51423) 2024-02-29 11:03:42 +00:00
33d7a2c984 tools/check: adpot staged build to make ut a little bit faster (#51374)
ref pingcap/tidb#31880
2024-02-28 02:42:30 +00:00
cfe245d372 makefile, tools: update tools/check/ut to make it work without unstable.txt (#50276)
ref pingcap/tidb#45961
2024-01-11 02:31:54 +00:00
aa090949f5 bazel: support module (#49372) 2023-12-12 11:06:26 +00:00
86a7ab3cb2 tools/check: increase the parallelism for building test binaries (#48985)
ref pingcap/tidb#31880
2023-11-30 02:05:47 +00:00
657f0d94a9 pkg: stop using math/rand.Seed (#48653) 2023-11-17 06:00:53 +00:00
5a22d566a8 executor: reuse goroutine in the analyze (#47637)
ref pingcap/tidb#47275
2023-11-03 05:51:38 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00
7d71771937 tests: integrationtest support report warnings (#47010)
ref pingcap/tidb#45961
2023-09-19 16:58:42 +00:00
bc65f2330c ut: support test.short for ut (#45396)
ref pingcap/tidb#45386
2023-07-18 01:56:16 +00:00
40dc19043d kazel: enable shard_count for util/chunk (#45250)
ref pingcap/tidb#44940
2023-07-10 02:11:11 +00:00
53692093de patchgo: add build script for it (#44759)
ref pingcap/tidb#41574
2023-06-21 16:13:11 +00:00
9eb62f4582 makefile: support rbe for bazel prepare in ci (#44763)
ref pingcap/tidb#44765
2023-06-19 04:17:11 +00:00
0013190875 *: Show required changes by git diff when CI check bazel files failed (#44663)
close pingcap/tidb#44661
2023-06-14 04:07:08 +00:00
61124d3fb7 tools: add a script to support patch go (#44545)
ref pingcap/tidb#41574, ref pingcap/tidb#41575
2023-06-13 06:31:06 +00:00
575d3bbcef makefile: not use bazel_parpare in check-bazel-prepare (#43831) 2023-05-15 11:55:18 +00:00
a8286064b7 util: enable shard for util/admin (#43806)
close pingcap/tidb#43804
2023-05-15 08:25:26 +00:00
e1bf43317e tazel: enable for dumpling (#43417) 2023-04-26 03:43:51 +00:00
8b07b86670 br: auto config shard_count (#43012) 2023-04-14 10:55:01 +08:00
e942ab6148 kazel: support auto-config shard_count (#42751)
close pingcap/tidb#42827
2023-04-06 15:46:58 +08:00
9cf69a9633 lightning: add lint rule & fix existing lightning lint err (#42733)
ref pingcap/tidb#40499
2023-04-03 13:36:56 +08:00
22839a3af3 tools: add tazel (#42605)
close pingcap/tidb#42608
2023-03-28 11:20:54 +08:00
29adb0aa86 ddl: Increase ddl unit test speed (#41034)
close pingcap/tidb#41216
2023-03-07 18:57:12 +08:00
9ebd766b53 util: add InTest to check whether to be in test (#40927)
close pingcap/tidb#40929
2023-02-01 15:27:56 +08:00
a54faadfa9 *: fix revive false positive with generics (#39666) 2022-12-06 17:16:03 +08:00
8db7c3b30e ci, Makefile: add make rule to check bazel prepare (#38818)
close pingcap/tidb#38817
2022-11-02 20:52:00 +08:00
5cdfea619f *: bring back the 'make ut' (#38806) 2022-11-02 17:18:00 +08:00
2970dd4ec3 tools: skip tools/check when to use ut (#37167)
close pingcap/tidb#37166
2022-08-17 15:28:52 +08:00
1b3c09bba1 *: remove useless gomod (#36516) 2022-08-14 10:00:49 +08:00
xhe
2873057592 *: do not rely on git to check file perm (#37008) 2022-08-10 13:46:47 +08:00
xhe
4b3563c6cb *: forbid creation of normal files with exec perm (#36691) 2022-08-09 15:42:47 +08:00
xhe
e5c900c8cd tools: use go install to cleanup go.mod (#36702) 2022-07-29 20:57:12 +08:00
704275b7c6 tools/check: add logging and path sanitization (#36083)
close pingcap/tidb#36082
2022-07-14 16:47:06 +08:00
aa7a0fbdc3 *: enable misspell (#35719)
ref pingcap/tidb#35345
2022-07-04 10:35:00 +08:00
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
6d80d0027d testkit: add a WithTiKV flag to support run unit test on real TiKV (#35647)
close pingcap/tidb#35646
2022-06-30 14:16:39 +08:00
5d7915c6f1 tools/check: skip 'tests' directory in 'make ut' (#35800)
close pingcap/tidb#35799
2022-06-29 11:30:39 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
62e2358071 ut: add timeout for race (#34893)
close pingcap/tidb#34892
2022-05-24 15:44:46 +08:00
098dee6612 tools/check: 'ut' now remove support for the old test cases (#34800)
close pingcap/tidb#30822
2022-05-19 14:08:38 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
7443ec8f6f tools/check: let ut binary retry on more errors to make CI stable (#33964)
close pingcap/tidb#32690
2022-04-14 18:38:35 +08:00
1bb87b291e Makefile: add --race flag for tool/bin/ut to support race test (#33765)
close pingcap/tidb#33745
2022-04-07 17:30:32 +08:00
09b73186f8 tools/check: make ut retry on special 'segmentation fault' error (#33566)
ref pingcap/tidb#32392, close pingcap/tidb#32690
2022-03-31 14:58:29 +08:00
6517ee3fb6 *: migrate tidb-tools (#33296)
close pingcap/tidb#32999
2022-03-25 19:08:35 +08:00