-
Notifications
You must be signed in to change notification settings - Fork 129
add ut of ads_loader.go #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think we can also test the dynamicLoader status.
Further more we need to test the xds time sequence
I'll add test cases later. |
3ae18fb
to
ad83d5d
Compare
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
ad83d5d
to
5e127bb
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅ ❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Flags with carried forward coverage won't be shown. Click here to find out more. |
pkg/controller/ads/cache_test.go
Outdated
@@ -0,0 +1,623 @@ | |||
/* | |||
* Copyright 2023 The Kmesh Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright 2024 The Kmesh Authors.
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nlgwcy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind enhancement
What this PR does / why we need it:
add ut of ads_loader.go
Which issue(s) this PR fixes:
a part of #104