Commit Graph

21 Commits

Author SHA1 Message Date
b43c9ffa85 *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31257)
ref pingcap/tidb#29517
2022-01-04 15:04:35 +08:00
4dc385ce8b test: merge serial tests in ddl, infoschema, session, store, table, telemetry and types (#30874) 2021-12-23 20:01:47 +08:00
3dbbe7cef8 ddl/util: migrate test-infra with testify matchers (#28422) 2021-09-29 11:48:47 +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
3ed698259d infoschema: maintain the snapshotTS in the infocache (#25322) 2021-06-11 22:42:35 +08:00
xhe
2ca98e393c *: compatibility with staleread (#24285) 2021-05-17 19:53:39 +08:00
cb94139137 ddl: fix err check (#22988) 2021-03-03 11:26:54 +08:00
37984d7cb0 tests: improve tests for Windows platform (#19088)
* tests: improve tests for Windows platform

* fix race build

* update badger to fix kill issue on Windows

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-13 17:17:19 +08:00
931ff98df5 simple fixes for the staticcheck linter (#18923)
Note that this found 2 bugs where errors were being silently ignored.

These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-06 13:38:17 +08:00
026d5ba192 ddl: stabilize test TestSyncerSimple (#18229)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-07-20 14:39:47 +08:00
6fae78d6cf ddl: use a valid ctx instead of context.Background (#18166) 2020-07-07 15:17:55 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
dcafb527ff *: Handle the error of "CampaignOwner" (#16470) 2020-05-09 14:28:05 +08:00
4fd48b0e32 test: enlarge timeout for test (#16464) 2020-04-16 15:20:49 +08:00
3a255c5518 *: fix unit tests on the windows platform (#14826) 2020-02-18 15:23:17 +08:00
4dfbb14c51 *: tidy code && prealloc some slice for performance (#13468) 2020-01-02 17:26:10 +08:00
ebe8b0989d *: limit a single test function timeout to 4s (#13573) 2019-11-21 13:44:08 +08:00
7f63a80e58 *: stabilize some tests for CI (#13381) 2019-11-13 11:31:50 +08:00
27426daed4 *: make the version of etcd consistent with pd (#13176)
Signed-off-by: Neil Shen <overvenus@gmail.com>
2019-11-06 12:08:03 +08:00
5352e7c65c ddl: use the Options to reorganize the NewDDL paramaters (#11966) 2019-09-02 10:09:44 +08:00
d23b894c69 ddl: Remove expired keys on PD (#10406) 2019-06-20 13:47:52 +08:00