private void prepareGroupId(String groupId) {
        InlongPulsarRequest request = new InlongPulsarRequest();
        request.setInlongGroupId(groupId);
        request.setMqResource("test_namespace");
        request.setInlongClusterTag(TEST_TAG);
        request.setVersion(InlongConstants.INITIAL_VERSION);
        request.setName("test_group_name");
        request.setMqType(ClusterType.PULSAR);
        request.setInCharges(GLOBAL_OPERATOR);
        List<InlongGroupExtInfo> extList = new ArrayList<>();
        InlongGroupExtInfo ext1 = InlongGroupExtInfo
                .builder()
                .inlongGroupId(groupId)
                .keyName(ClusterSwitch.BACKUP_CLUSTER_TAG)
                .keyValue(BACK_UP_TAG)
                .build();
        InlongGroupExtInfo ext2 = InlongGroupExtInfo
                .builder()
                .inlongGroupId(groupId)
                .keyName(ClusterSwitch.BACKUP_MQ_RESOURCE)
                .keyValue("backup_name")
                .build();

        extList.add(ext1);
        extList.add(ext2);
        request.setExtList(extList);
        groupService.save(request, GLOBAL_OPERATOR);
    }
Sort service test for {@link SortService}
inlong-manager/manager-service/src/test/java/org/apache/inlong/manager/service/sort/SortServiceImplTest.java