private void prepareCluster(String clusterName, String clusterTag) {
        InlongClusterEntity entity = new InlongClusterEntity();
        entity.setName(clusterName);
        entity.setType(DataNodeType.HIVE);
        entity.setExtParams("{}");
        entity.setCreator(TEST_CREATOR);
        entity.setInCharges(TEST_CREATOR);
        entity.setClusterTags(clusterTag);
        Date now = new Date();
        entity.setCreateTime(now);
        entity.setModifyTime(now);
        entity.setIsDeleted(InlongConstants.UN_DELETED);
        entity.setVersion(InlongConstants.INITIAL_VERSION);
        clusterEntityMapper.insert(entity);
    }
Sort service test for {@link SortService}
inlong-manager/manager-service/src/test/java/org/apache/inlong/manager/service/sort/SortServiceImplTest.java