From 9242d03f2c80885950702f38318adee8f00cab89 Mon Sep 17 00:00:00 2001 From: xiedeyantu Date: Mon, 25 Mar 2024 12:21:48 +0800 Subject: [PATCH] fix ut --- .../test/java/org/apache/doris/analysis/ShowReplicaTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/test/java/org/apache/doris/analysis/ShowReplicaTest.java b/fe/fe-core/src/test/java/org/apache/doris/analysis/ShowReplicaTest.java index 4b380e8075d6dc6..275602569f1be09 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/analysis/ShowReplicaTest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/analysis/ShowReplicaTest.java @@ -87,8 +87,8 @@ public void testShowReplicaDistribution() throws Exception { executor = new ShowExecutor(connectContext, skewStmt); resultSet = executor.execute(); Assert.assertEquals(10, resultSet.getResultRows().size()); - Assert.assertEquals("4", resultSet.getResultRows().get(4).get(0)); - Assert.assertEquals(5, resultSet.getResultRows().get(0).size()); + Assert.assertEquals("4", resultSet.getResultRows().get(5).get(0)); + Assert.assertEquals(6, resultSet.getResultRows().get(0).size()); } @Test