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

flaky test TestShowPlacementPrivilege #56303

Closed
Tracked by #41316
hawkingrei opened this issue Sep 25, 2024 · 0 comments · Fixed by #56304
Closed
Tracked by #41316

flaky test TestShowPlacementPrivilege #56303

hawkingrei opened this issue Sep 25, 2024 · 0 comments · Fixed by #56304
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)

         	Error Trace:	pkg/testkit/result.go:49
        	            				pkg/executor/show_placement_test.go:175
        	Error:      	Not equal: 
        	            	expected: "[POLICY p1 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" NULL]\n[DATABASE db2 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" PENDING]\n[TABLE test.t1 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" PENDING]\n[TABLE test.t3 PARTITION p1 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" PENDING]\n[TABLE db2.t1 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" PENDING]\n"
        	            	actual  : "[POLICY p1 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" NULL]\n[DATABASE db2 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" PENDING]\n[TABLE db2.t1 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" PENDING]\n[TABLE test.t1 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" PENDING]\n[TABLE test.t3 PARTITION p1 PRIMARY_REGION=\"cn-east-1\" REGIONS=\"cn-east-1,cn-east-2\" SCHEDULE=\"EVEN\" PENDING]\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2,5 +2,5 @@
        	            	 [DATABASE db2 PRIMARY_REGION="cn-east-1" REGIONS="cn-east-1,cn-east-2" SCHEDULE="EVEN" PENDING]
        	            	+[TABLE db2.t1 PRIMARY_REGION="cn-east-1" REGIONS="cn-east-1,cn-east-2" SCHEDULE="EVEN" PENDING]
        	            	 [TABLE test.t1 PRIMARY_REGION="cn-east-1" REGIONS="cn-east-1,cn-east-2" SCHEDULE="EVEN" PENDING]
        	            	 [TABLE test.t3 PARTITION p1 PRIMARY_REGION="cn-east-1" REGIONS="cn-east-1,cn-east-2" SCHEDULE="EVEN" PENDING]
        	            	-[TABLE db2.t1 PRIMARY_REGION="cn-east-1" REGIONS="cn-east-1,cn-east-2" SCHEDULE="EVEN" PENDING]
        	            	 
        	Test:       	TestShowPlacementPrivilege
        	Messages:   	sql:show placement, args:[] 

https://tiprow.hawkingrei.com/view/gs/pingcapprow/pr-logs/pull/pingcap_tidb/54514/fast_test_tiprow/1838866841766727680#1:build-log.txt%3A16303

4. What is your TiDB version? (Required)

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