vernedeng commented on code in PR #6275:
URL: https://github.com/apache/inlong/pull/6275#discussion_r1005157259
##########
inlong-manager/manager-service/src/test/java/org/apache/inlong/manager/service/sort/SortServiceImplTest.java:
##########
@@ -195,20 +216,50 @@ private void prepareDataNode(String taskName) {
}
private void prepareGroupId(String groupId) {
- InlongGroupEntity entity = new InlongGroupEntity();
- entity.setInlongGroupId(groupId);
- entity.setInlongClusterTag(TEST_TAG);
- entity.setMqResource(TEST_TOPIC);
- entity.setMqType("PULSAR");
- entity.setName("testName");
- entity.setDescription("testDescription");
- entity.setCreator(TEST_CREATOR);
- entity.setInCharges(TEST_CREATOR);
- entity.setCreateTime(new Date());
- entity.setModifyTime(new Date());
- entity.setIsDeleted(InlongConstants.UN_DELETED);
- entity.setVersion(InlongConstants.INITIAL_VERSION);
- inlongGroupEntityMapper.insert(entity);
+ 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");
Review Comment:
fixed, thx
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]