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

   ### Task Summary
   `ComputingUnitHelpers` resolves a computing unit's status and metrics in 
four places: two ask the cluster for one unit, and two read pre-fetched pod 
snapshots or metrics from a map. Each repeats the same local / Kubernetes / 
other match. Two private dispatchers can serve all four, taking the pod lookup 
by name so that the cluster or the map is still consulted only for a Kubernetes 
unit. `ComputingUnitHelpersSpec` builds most of its Fabric8 pods by hand and 
spells out each failure reason several times; it can share its pod builders, 
the stubbed-client setup and the expected reasons. Behavior, test names and 
expected text stay the same, and about 160 lines go away.
   
   ### Task Type
   - [x] Refactor / Cleanup
   


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