yyqdbngt opened a new pull request, #3820:
URL: https://github.com/apache/rocketmq-dashboard/pull/3820

   ### Motivation
   
   The existing `AliyunConvertersNullEndpointTest` proves null endpoint rows 
are skipped but nothing else about `toInstanceDetailVO`: the core field mapping 
and the absent-networkInfo branch were untested.
   
   ### Changes
   
   - `toInstanceDetailShouldCopyCoreFields`: instance id, name, status, region 
id and remark map onto the detail VO while a missing endpoint list stays empty.
   - `toInstanceDetailShouldHandleAbsentNetworkInfo`: a null `networkInfo` 
produces an empty endpoint list without errors.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=AliyunConvertersNullEndpointTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


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