polarismesh / polaris

Service Discovery and Governance Platform for Microservice and Distributed Architecture
https://polarismesh.cn
Other
2.41k stars 399 forks source link

test:add unit test for service visible feature #1309

Closed chuntaojun closed 11 months ago

chuntaojun commented 11 months ago

Please provide issue(s) of this PR: Fixes #

To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

Please check any characteristics that apply to this pull request.

polaris-test-bot commented 11 months ago

2023-12-21 09:40:07: =========TEST START========== 2023-12-21 10:11:05: [STANDALONE VERSION]PR autotest FAILED! We executed 40 test cases and 34 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1652956805/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1652956805/sta/ratelimit/qta-report.html 2023-12-21 10:11:08: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 33 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1652956805/clu/qta-report.html 2023-12-21 10:11:11: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 36 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1652956805/k8s/qta-report.html 2023-12-21 10:15:09: =========TEST START========== 2023-12-21 10:37:02: [STANDALONE VERSION]PR autotest FAILED! We executed 40 test cases and 34 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1652956805/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1652956805/sta/ratelimit/qta-report.html 2023-12-21 10:37:06: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 33 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1652956805/clu/qta-report.html 2023-12-21 10:37:10: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1652956805/k8s/qta-report.html 2023-12-21 15:58:03: =========TEST START==========

codecov[bot] commented 11 months ago

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (dfa9741) 54.01% compared to head (b7208bb) 54.11%.

Files Patch % Lines
service/client_v1.go 45.00% 9 Missing and 2 partials :warning:
service/service.go 75.00% 3 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1309 +/- ## ========================================== + Coverage 54.01% 54.11% +0.10% ========================================== Files 162 162 Lines 32367 32399 +32 ========================================== + Hits 17483 17534 +51 + Misses 12544 12533 -11 + Partials 2340 2332 -8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.