-
Notifications
You must be signed in to change notification settings - Fork 387
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
Reorganize the code for configuring Windows networking into dedicated package #5159
Reorganize the code for configuring Windows networking into dedicated package #5159
Conversation
892d699
to
55a75ef
Compare
fe1a900
to
10671e6
Compare
6b99ad8
to
d7d36d9
Compare
7e0ebd8
to
6f9fdb8
Compare
6f9fdb8
to
ec0ee7c
Compare
ec0ee7c
to
8b8b65b
Compare
eb01f20
to
0619ea0
Compare
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
@antoninbas Could you help have a final confirm? |
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
/test-windows-all |
/test-windows-containerd-e2e |
/test-all |
/test-windows-containerd-e2e |
2 similar comments
/test-windows-containerd-e2e |
/test-windows-containerd-e2e |
@antoninbas I saw that some flaky tests get failed for test-windows-containerd-e2e for all PRs. Is there any risks to merge this one? |
That's a bit concerning, because I just ran the job for a different PR and it passed on the first try: #6090 |
Yes, we should look into it. I found the test |
Just ignore it. I found you have created it. |
I didn't, this is a different issue. Please open a new issue and follow-up on this. |
/test-windows-containerd-e2e |
/test-windows-containerd-e2e |
7 similar comments
/test-windows-containerd-e2e |
/test-windows-containerd-e2e |
/test-windows-containerd-e2e |
/test-windows-containerd-e2e |
/test-windows-containerd-e2e |
/test-windows-containerd-e2e |
/test-windows-containerd-e2e |
@antoninbas I run the test Besides, @wenyingd helped trigger the test |
Yes, it is always possible. I will merge now that you have confirmed the job is passing for this PR. |
Thanks for merging this PR |
This commits reorganizes Windows-related code for configuring Windows networking
into dedicated package
pkg/agent/util/winnet
, enhancing clarity and making iteasier for developers to locate and understand the Windows-specific functionality.
Besides, an interface implemented by the Windows-specific networking utility
functions is added to the package, facilitating easier testing and enhancing code
maintainability.
Furthermore, additional unit tests are added for the file
pkg/agent/route/route_windows.go
, based on the testing code in the packages.This enhances the code coverage of file
route_windows.go
.