tests: Fix unstable schema test#8972
Conversation
|
/run-all-tests |
|
/run-all-tests |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JinheLin, Lloyd-Pottiger The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/cherry-pick release-8.1 |
|
@JaySon-Huang: new pull request created to branch DetailsIn response to this:
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 ti-community-infra/tichi repository. |
|
/cherry-pick release-7.5 |
|
@JaySon-Huang: new pull request created to branch DetailsIn response to this:
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 ti-community-infra/tichi repository. |
What problem does this PR solve?
Issue Number: close #8968, close #8911
Problem Summary:
#8955 introduced a check on the cache gc_safepoint is not updated, but the background task of DDL sync make the ut unstable
What is changed and how it works?
profiles.default.ddl_sync_interval_seconds == 0TiDBSchemaManager.hwith comments on lockingschema_syncers_mutexSchemaSyncTestto use temporary instance instead of the instance inglobal_contextCheck List
Tests
Side effects
Documentation
Release note