[UT] Fix ut failed for CreateTableTest (#5721)

Co-authored-by: caiconghui <caiconghui@xiaomi.com>
This commit is contained in:
caiconghui
2021-04-29 09:21:02 +08:00
committed by GitHub
parent 9001fd28f4
commit faf5adc4ee

View File

@ -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);
}