From faf5adc4eef45569b4d52dc0a041c0fc2d700a5c Mon Sep 17 00:00:00 2001 From: caiconghui <55968745+caiconghui@users.noreply.github.com> Date: Thu, 29 Apr 2021 09:21:02 +0800 Subject: [PATCH] [UT] Fix ut failed for CreateTableTest (#5721) Co-authored-by: caiconghui --- .../src/test/java/org/apache/doris/utframe/UtFrameUtils.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fe/fe-core/src/test/java/org/apache/doris/utframe/UtFrameUtils.java b/fe/fe-core/src/test/java/org/apache/doris/utframe/UtFrameUtils.java index 7b4f6de3f6..8b416dc963 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/utframe/UtFrameUtils.java +++ b/fe/fe-core/src/test/java/org/apache/doris/utframe/UtFrameUtils.java @@ -190,6 +190,9 @@ public class UtFrameUtils { be.setDisks(ImmutableMap.copyOf(disks)); be.setAlive(true); be.setOwnerClusterName(SystemInfoService.DEFAULT_CLUSTER); + be.setBePort(be_thrift_port); + be.setHttpPort(be_http_port); + be.setBeRpcPort(be_brpc_port); Catalog.getCurrentSystemInfo().addBackend(be); }