aglinxinyuan opened a new issue, #4822: URL: https://github.com/apache/texera/issues/4822
### Task Summary The two classes under `amber/src/main/scala/org/apache/texera/amber/engine/architecture/scheduling/resourcePolicies` (`DefaultResourceAllocator` and `ExecutionClusterInfo`) have no dedicated unit tests; their behavior is only exercised incidentally by `DefaultCostEstimatorSpec`. Add a focused `ResourcePoliciesSpec`: - `ExecutionClusterInfo` no-arg construction - `DefaultResourceAllocator.allocate` returns zero cost (placeholder per current implementation) - Produces an `OperatorConfig` entry for every operator in the region - Respects `parallelizable` / `suggestedWorkerNum` on each `PhysicalOp` - Emits distinct worker ids - Produces a `LinkConfig` entry for every link with a non-empty channel layout and a non-null `Partitioning` - `portConfigs` is empty when the region has no prior `resourceConfig` ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
