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

unstable test TestLFUFreshMemUsage #45649

Closed
Tracked by #41316
hawkingrei opened this issue Jul 28, 2023 · 2 comments · Fixed by #45648
Closed
Tracked by #41316

unstable test TestLFUFreshMemUsage #45649

hawkingrei opened this issue Jul 28, 2023 · 2 comments · Fixed by #45648
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   TestLFUFreshMemUsage

    lfu_cache_test.go:60: 

        	Error Trace:	statistics/handle/cache/internal/lfu/lfu_cache_test.go:60

        	Error:      	Not equal: 

        	            	expected: 60

        	            	actual  : 52

        	Test:       	TestLFUFreshMemUsage

--- FAIL: TestLFUFreshMemUsage (0.00s)

4. What is your TiDB version? (Required)

@tiancaiamao
Copy link
Contributor

It's still unstable ... or, it fails stably

cd statistics/handle/cache/internal/lfu
go test -run TestLFUFreshMemUsage
--- FAIL: TestLFUFreshMemUsage (0.00s)
lfu_cache_test.go:81:
Error Trace: /home/genius/project/src/github.com/pingcap/tidb/statistics/handle/cache/internal/lfu/lfu_cache_test.go:81
Error: Not equal:
expected: 0x30
actual : 0x0
Test: TestLFUFreshMemUsage
FAIL
exit status 1
FAIL github.com/pingcap/tidb/statistics/handle/cache/internal/lfu 0.018s

@tiancaiamao
Copy link
Contributor

On master barnch, it need the --tags intest flag to run.

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.

2 participants