You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/04/30 06:25:58 UTC

[I] test(amber): add unit test coverage for WorkflowScheduler [texera]

aglinxinyuan opened a new issue, #4563:
URL: https://github.com/apache/texera/issues/4563

   ### Task Summary
   
   `WorkflowScheduler` (`amber/src/main/scala/org/apache/texera/amber/engine/architecture/controller/WorkflowScheduler.scala`) wraps the cost-based generator and exposes the iterator-driven `getNextRegions` used by the controller, but has no dedicated unit tests of its own. Add `WorkflowSchedulerSpec` covering its public contract:
   
   - `updateSchedule` populates `getSchedule` and `physicalPlan` from the input workflow
   - The produced schedule covers every operator in the (post-update) physical plan
   - `getNextRegions` exhausts the schedule and then returns an empty set
   - The union of region sets pulled via `getNextRegions` matches `getSchedule.getRegions`
   
   ### Priority
   P3 – Low
   
   ### Task Type
   - [x] Testing / QA


-- 
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: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] test(amber): add unit test coverage for WorkflowScheduler [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #4563: test(amber): add unit test coverage for WorkflowScheduler
URL: https://github.com/apache/texera/issues/4563


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org