Skip to content

Add unit tests for VirtualIdentityUtils #4710

@Yicong-Huang

Description

@Yicong-Huang

Task Summary

common/workflow-core/src/main/scala/org/apache/texera/amber/util/VirtualIdentityUtils.scala has no dedicated spec. Add unit tests for createWorkerIdentity (both overloads), getPhysicalOpId (matched name vs. fallback __DummyOperator), getWorkerIndex, toShorterString (UUID-pattern shortening, generic takeRight(6) shortening, and the unmatched fall-through), and getFromActorIdForInputPortStorage.

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