Skip to content

add unit test coverage for scheduling configs #4820

@aglinxinyuan

Description

@aglinxinyuan

Task Summary

Six value/builder classes in amber/src/main/scala/org/apache/texera/amber/engine/architecture/scheduling/config currently have no unit tests:

  • ChannelConfig.generateChannelConfigs — channel layout per PartitionInfo (cross-product / fan-in / zip / empty branches, plus the SinglePartition size assertion)
  • LinkConfig.toPartitioning — translates each PartitionInfo subtype to its corresponding Partitioning and propagates parameters (hash attrs, range bounds, batch size)
  • PortConfig hierarchy — OutputPortConfig, IntermediateInputPortConfig, InputPortConfig and their storageURIs projections
  • OperatorConfig.empty and the case-class round-trip
  • ResourceConfig defaults
  • WorkerConfig.generateWorkerConfigs — non-parallelizable, suggested-count, and configured-default branches

Priority

P3 – Low

Task Type

  • Testing / QA

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions