Skip to content

Commit

Permalink
[UT] fix unstable AnalyzeCreateAnalyzeJobTest.testCreateHistogram (#5…
Browse files Browse the repository at this point in the history
…1829)

Signed-off-by: Murphy <[email protected]>
(cherry picked from commit 97521f2)
  • Loading branch information
murphyatwork authored and mergify[bot] committed Oct 12, 2024
1 parent 4d67bce commit c70ea67
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ public void testCreateHistogram() throws Exception {
String jobId = jobDesc.get(0);
Assert.assertEquals(
List.of("default_catalog", "db", "tbl1", "c1,c2", "HISTOGRAM", "SCHEDULE",
"{histogram_sample_ratio=1, histogram_mcv_size=100, histogram_bucket_num=128}",
"PENDING", "None", ""),
jobDesc.subList(1, jobDesc.size()));
"{histogram_sample_ratio=1, histogram_mcv_size=100, histogram_bucket_num=128}"),
jobDesc.subList(1, jobDesc.size() - 3));

// trigger the job
StatisticAutoCollector statisticAutoCollector = GlobalStateMgr.getCurrentState().getStatisticAutoCollector();
Expand Down

0 comments on commit c70ea67

Please sign in to comment.