From 77f94ad87d0ca8e0e0321588aa4c26f57e7cfbca Mon Sep 17 00:00:00 2001 From: yujun Date: Thu, 19 Dec 2024 19:16:56 +0800 Subject: [PATCH] fix ut --- .../src/test/java/org/apache/doris/catalog/CreateTableTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/test/java/org/apache/doris/catalog/CreateTableTest.java b/fe/fe-core/src/test/java/org/apache/doris/catalog/CreateTableTest.java index 7a29d0ecfb0b5f..7b6ad79253d50a 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/catalog/CreateTableTest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/catalog/CreateTableTest.java @@ -798,7 +798,7 @@ public void testCreateTableDetailMsg() throws Exception { allocMap.put(Tag.create(Tag.TYPE_LOCATION, new String(Tag.VALUE_DEFAULT_TAG)), (short) 6); String msg = Env.getCurrentSystemInfo().getDetailsForCreateReplica(new ReplicaAllocation(allocMap)); Assert.assertTrue("msg: " + msg, msg.contains("Backends details: backends with tag {\"location\" : \"default\"} is [[backendId=") - && msg.contains("hdd disks count={ok=1,}, ssd disk count={}], [backendId=")); + && msg.contains("hdd disks count={ok=1,}, ssd disk count={}]")); } }