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

run single test TestRenameTables fails #31085

Closed
tiancaiamao opened this issue Dec 28, 2021 · 1 comment · Fixed by #31086 or #31878
Closed

run single test TestRenameTables fails #31085

tiancaiamao opened this issue Dec 28, 2021 · 1 comment · Fixed by #31086 or #31878
Assignees
Labels
sig/sql-infra SIG: SQL Infra type/enhancement The issue or PR belongs to an enhancement.

Comments

@tiancaiamao
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

make failpoint-enable;
cd ddl;
go test -run TestRenameTables 

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

Success

3. What did you see instead (Required)

--- FAIL: TestRenameTables (0.63s)
    table_test.go:43:
                Error Trace:    table_test.go:43
                                                        table_test.go:370
                Error:          Received unexpected error:
                                [ddl:-1]failed to notify PD the placement rules: infoSyncer is not initialized
                                github.com/pingcap/errors.AddStack
                                        /home/genius/go/pkg/mod/github.com/pingcap/[email protected]/errors.go:174
                                github.com/pingcap/errors.Trace
                                        /home/genius/go/pkg/mod/github.com/pingcap/[email protected]/juju_adaptor.go:15
                                github.com/pingcap/tidb/ddl.(*ddl).doDDLJob
                                        /home/genius/project/src/github.com/pingcap/tidb/ddl/ddl.go:627
                                github.com/pingcap/tidb/ddl.testCreateTableT
                                        /home/genius/project/src/github.com/pingcap/tidb/ddl/table_test.go:42
                                github.com/pingcap/tidb/ddl.TestRenameTables
                                        /home/genius/project/src/github.com/pingcap/tidb/ddl/table_test.go:370
                                testing.tRunner
                                        /home/genius/project/go/src/testing/testing.go:1193
                                runtime.goexit
                                        /home/genius/project/go/src/runtime/asm_amd64.s:1371
                Test:           TestRenameTables
FAIL

4. What is your TiDB version? (Required)

master

@tiancaiamao tiancaiamao added type/bug The issue is confirmed as a bug. feature/developing the related feature is in development labels Dec 28, 2021
@tiancaiamao
Copy link
Contributor Author

A subtask of #30822

@tiancaiamao tiancaiamao added type/enhancement The issue or PR belongs to an enhancement. and removed type/bug The issue is confirmed as a bug. feature/developing the related feature is in development severity/major labels Dec 29, 2021
@tiancaiamao tiancaiamao self-assigned this Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/sql-infra SIG: SQL Infra type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
2 participants