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

Unit test case 'session TestNonTransactionalDeleteShardingOnVarchar' can't run on real TiKV #35837

Closed
tiancaiamao opened this issue Jun 30, 2022 · 2 comments
Labels
severity/minor sig/transaction SIG:Transaction type/bug The issue is confirmed as a bug.

Comments

@tiancaiamao
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

I'm testing paging protocol by running tidb UT with a real TiKV using this branch #35647

tiup playground nightly --mode tikv-slim
cd session
go test -run ^TestNonTransactionalDeleteShardingOnVarchar$ -with-tikv 127.0.0.1:2379

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

Success

3. What did you see instead (Required)

The test hang...
The test case TestNonTransactionalDeleteShardingOnInt also have the same problem.

4. What is your TiDB version? (Required)

master

commit 47a4f3a017768dda0b9a826451486c5539bc8427 (HEAD -> master, origin/master, origin/HEAD)
Author: Weizhen Wang <[email protected]>
Date:   Wed Jun 29 20:16:40 2022 +0800

    *: enable unconvert (#35821)
    
    ref pingcap/tidb#35345
@tiancaiamao tiancaiamao added type/bug The issue is confirmed as a bug. sig/transaction SIG:Transaction severity/minor labels Jun 30, 2022
@ekexium
Copy link
Contributor

ekexium commented Jul 22, 2022

I failed to reproduce the problem, though it takes 300s to finish the test.

@tiancaiamao
Copy link
Contributor Author

You're right, it's just slow with real tikv, not hang... @ekexium

go test -run ^TestNonTransactionalDeleteShardingOnVarchar$  -with-tikv 127.0.0.1:2379
ok  	github.com/pingcap/tidb/session	372.274s
go test -run ^TestNonTransactionalDeleteShardingOnVarchar$ 
ok  	github.com/pingcap/tidb/session	2.961s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor sig/transaction SIG:Transaction type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants