8000 Unstable test TestGetTargetNodeCpuCnt · Issue #57822 · pingcap/tidb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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

Unstable test TestGetTargetNodeCpuCnt #57822

Closed
tangenta opened this issue Nov 29, 2024 · 0 comments · Fixed by #57823
Closed

Unstable test TestGetTargetNodeCpuCnt #57822

tangenta opened this issue Nov 29, 2024 · 0 comments · Fixed by #57823
Labels
component/test type/enhancement The issue or PR belongs to an enhancement.

Comments

@tangenta
Copy link
Contributor

Enhancement

[2024/11/28 17:05:00.228 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0]
    importer_testkit_test.go:188: 
        	Error Trace:	pkg/executor/importer/importer_testkit_test.go:188
        	Error:      	Not equal: 
        	            	expected: 8
        	            	actual  : 16
        	Test:       	TestGetTargetNodeCpuCnt

variable.EnableDistTask.Store(false)

Setting the variable directly is unstable because if someone executes "set global xxx = xx", the sysvar cache will be entirely rebuilt. The variable will be overwritten with the value stored in the table.

@tangenta tangenta added type/enhancement The issue or PR belongs to an enhancement. component/test labels Nov 29, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in b9eeab4 Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0