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

panic in the TestStateSyncerSimple #43943

Closed
Tracked by #41316
hawkingrei opened this issue May 18, 2023 · 1 comment · Fixed by #43944
Closed
Tracked by #41316

panic in the TestStateSyncerSimple #43943

hawkingrei opened this issue May 18, 2023 · 1 comment · Fixed by #43944
Assignees
Labels
component/test severity/moderate 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)

 === RUN   TestSyncerSimple
[2023/05/18 02:53:25.758 +08:00] [INFO] [manager.go:178] ["start campaign owner"] [ownerInfo="[ddl] /tidb/ddl/fg/owner"]
panic: Fail in goroutine after TestStateSyncerSimple has completed
goroutine 292 [running]:
testing.(*common).Fail(0xc00066eea0)
	GOROOT/src/testing/testing.go:933 +0x1a8
testing.(*common).Errorf(0xc00066eea0, {0x4021df6, 0x3}, {0xc000a13500, 0x1, 0x1})
	GOROOT/src/testing/testing.go:1050 +0xaf
github.com/stretchr/testify/assert.Fail({0x7f8c2edc1bd8, 0xc00066eea0}, {0xc000dc6240, 0x225}, {0x0, 0x0, 0x0})
	external/com_github_stretchr_testify/assert/assertions.go:262 +0x412
github.com/stretchr/testify/assert.NoError({0x7f8c2edc1bd8, 0xc00066eea0}, {0x588d3e0, 0xc000139578}, {0x0, 0x0, 0x0})
	external/com_github_stretchr_testify/assert/assertions.go:1380 +0x127
github.com/stretchr/testify/require.NoError({0x589ad80, 0xc00066eea0}, {0x588d3e0, 0xc000139578}, {0x0, 0x0, 0x0})
	external/com_github_stretchr_testify/require/require.go:1261 +0xa5
ddl/syncer/syncer_test_test.TestStateSyncerSimple.func3()
	ddl/syncer/state_syncer_test.go:66 +0x74
created by ddl/syncer/syncer_test_test.TestStateSyncerSimple
	ddl/syncer/state_syncer_test.go:65 +0x6aa 

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label May 18, 2023
@hawkingrei hawkingrei self-assigned this May 18, 2023
@hawkingrei
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant