Skip to content

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

Merged
merged 2 commits into from
May 25, 2024
Merged

Conversation

LiZhenCheng9527
Copy link
Contributor

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

Copy link
Member

@hzxuzhonghu hzxuzhonghu left a 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

@LiZhenCheng9527
Copy link
Contributor Author

I'll add test cases later.

Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
@codecov-commenter
Copy link

codecov-commenter commented May 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag Coverage Δ
unittests 31.65% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@@ -0,0 +1,623 @@
/*
* Copyright 2023 The Kmesh Authors.
Copy link
Contributor

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>
@nlgwcy
Copy link
Contributor

nlgwcy commented May 25, 2024

/lgtm
/approve

@kmesh-bot
Copy link
Collaborator

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kmesh-bot kmesh-bot merged commit 2bfd6ed into kmesh-net:main May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants