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 275602569f1be0..21fe967a96dd68 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,7 +87,7 @@ 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(5).get(0)); + Assert.assertEquals("4", resultSet.getResultRows().get(4).get(1)); Assert.assertEquals(6, resultSet.getResultRows().get(0).size()); }