KwongHing commented on code in PR #17614:
URL: 
https://github.com/apache/dolphinscheduler/pull/17614#discussion_r2514827919


##########
dolphinscheduler-master/src/test/java/org/apache/dolphinscheduler/server/master/integration/cases/WorkflowStartTestCase.java:
##########
@@ -141,15 +145,32 @@ public void 
testStartWorkflow_with_oneSuccessTaskUsingTaskGroup() {
         workflowOperator.manualTriggerWorkflow(workflowTriggerDTO);
         workflowOperator.manualTriggerWorkflow(workflowTriggerDTO);
 
+        final TaskDefinition taskDefinition = context.getTasks().get(0);
+        final Map<Integer, TaskGroupQueue> taskGroupQueueMap = new HashMap<>();
+
         await()
                 .atMost(Duration.ofMinutes(2))
                 .atLeast(Duration.ofSeconds(20))
                 .untilAsserted(() -> {
+
+                    // Capture TaskGroupQueue records during execution since 
they are deleted after task completion.
+                    
repository.queryAllInQueueTaskGroupQueue().forEach(taskGroupQueue -> {
+                        taskGroupQueueMap.put(taskGroupQueue.getId(), 
taskGroupQueue);
+                    });

Review Comment:
   I ran the IT case 
`testStartWorkflow_with_oneFailedTaskWithRetryUsingTaskGroup` locally, but it 
failed. I checked the code and noticed that the `taskGroupPriority` field is 
annotated with `@TableField(exist = false)`, and the `queryTaskInstance` method 
doesn’t load it. Could it be an issue with the way I’m running it locally?
   <img width="1183" height="769" alt="image" 
src="https://github.com/user-attachments/assets/0e6034ed-6f2b-4035-9956-38a4168df43f";
 />
   



-- 
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]

Reply via email to