Skip to content

flaky test TestGetTaskImportedRows #49990

@hawkingrei

Description

@hawkingrei

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)

     job_testkit_test.go:57: 
        	Error Trace:	pkg/disttask/importinto/job_testkit_test.go:57
        	Error:      	Received unexpected error:
        	            	no managed nodes
        	            	github.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).getCPUCountOfManagedNodes
        	            		pkg/disttask/framework/storage/task_table.go:1339
        	            	github.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).CreateTaskWithSession
        	            		pkg/disttask/framework/storage/task_table.go:234
        	            	github.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).CreateTask.func1
        	            		pkg/disttask/framework/storage/task_table.go:226
        	            	github.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession
        	            		pkg/disttask/framework/storage/task_table.go:176
        	            	github.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).CreateTask
        	            		pkg/disttask/framework/storage/task_table.go:224
        	            	github.com/pingcap/tidb/pkg/disttask/importinto_test.TestGetTaskImportedRows
        	            		pkg/disttask/importinto/job_testkit_test.go:56
        	            	testing.tRunner
        	            		GOROOT/src/testing/testing.go:1595
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1650
        	Test:       	TestGetTaskImportedRows 

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions