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

flaky test TestSlotManagerInManager #52252

Closed
Tracked by #41316
hawkingrei opened this issue Mar 29, 2024 · 0 comments · Fixed by #52271
Closed
Tracked by #41316

flaky test TestSlotManagerInManager #52252

hawkingrei opened this issue Mar 29, 2024 · 0 comments · Fixed by #52271
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/minor type/bug The issue is confirmed as a bug.

Comments

@hawkingrei
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

     manager.go:335: Unexpected call to *mock.MockTaskExecutor.Close([]) at pkg/disttask/framework/taskexecutor/manager.go:335 because: there are no expected calls of the method "Close" for that receiver
    manager_test.go:375: 
        	Error Trace:	pkg/disttask/framework/taskexecutor/manager_test.go:375
        	Error:      	Should be true
        	Test:       	TestSlotManagerInManager
    controller.go:243: missing call(s) to *mock.MockTaskExecutor.Close() pkg/disttask/framework/taskexecutor/manager_test.go:370
    controller.go:243: aborting test due to missing call(s)
--- FAIL: TestSlotManagerInManager (0.31s) 

https://tiprow.hawkingrei.com/view/gs/pingcapprow/pr-logs/pull/pingcap_tidb/52226/fast_test_tiprow/1773735551308926976

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Mar 29, 2024
@jebter jebter added component/test component/ddl This issue is related to DDL of TiDB. labels Apr 1, 2024
ti-chi-bot bot pushed a commit that referenced this issue Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants