Skip to content

flaky test TestCalculateIndicatorsForPartitions #51534

@hawkingrei

Description

@hawkingrei

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)

==================== Test output for //pkg/statistics/handle/autoanalyze/refresher:refresher_test (shard 12 of 13):
=== RUN   TestCalculateIndicatorsForPartitions
=== RUN   TestCalculateIndicatorsForPartitions/Test_Table_not_analyzed
    refresher_test.go:783: 
        	Error Trace:	pkg/statistics/handle/autoanalyze/refresher/refresher_test.go:783
        	Error:      	Not equal: 
        	            	expected: []string{"p0", "p1"}
        	            	actual  : []string{"p1", "p0"}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,4 +1,4 @@
        	            	 ([]string) (len=2) {
        	            	- (string) (len=2) "p0",
        	            	- (string) (len=2) "p1"
        	            	+ (string) (len=2) "p1",
        	            	+ (string) (len=2) "p0"
        	            	 }
        	Test:       	TestCalculateIndicatorsForPartitions/Test_Table_not_analyzed
=== RUN   TestCalculateIndicatorsForPartitions/Test_Table_analyzed_and_only_one_partition_meets_the_threshold
=== RUN   TestCalculateIndicatorsForPartitions/No_partition_meets_the_threshold
--- FAIL: TestCalculateIndicatorsForPartitions (0.00s)
    --- FAIL: TestCalculateIndicatorsForPartitions/Test_Table_not_analyzed (0.00s)
    --- PASS: TestCalculateIndicatorsForPartitions/Test_Table_analyzed_and_only_one_partition_meets_the_threshold (0.00s)
    --- PASS: TestCalculateIndicatorsForPartitions/No_partition_meets_the_threshold (0.00s)
FAIL

https://tiprow.hawkingrei.com/view/gs/pingcapprow/pr-logs/pull/pingcap_tidb/51400/fast_test_tiprow/1765256567529148416#1:build-log.txt%3A1664

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions