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

   ### Task Summary
   
   
`computing-unit-managing-service/src/main/scala/org/apache/texera/service/util/KubernetesClient.scala`
 (0% coverage) has a pure string-building helper that needs no cluster: 
`generatePodName(cuid)`. Cover it; the client-backed methods (`getPodByName`, 
`getPodMetrics`, `createPod`, …) and `generatePodURI` (which embeds 
`KubernetesConfig` values) need a fabric8 mock / config control and are out of 
scope here.
   
   ### Behavior to cover
   
   - `generatePodName(42)` == `"computing-unit-42"`
   - `generatePodName(0)` == `"computing-unit-0"` (boundary)
   
   ### Task Type
   
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [x] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other


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