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


##########
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 sincerely apologize. I realize that due to my limited experience with IT 
case writing, this issue has taken up more of your valuable time than it should 
have. I’d like to request that this bug be reassigned to someone more 
experienced to handle it properly.



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