-
Notifications
You must be signed in to change notification settings - Fork 260
run Windows UT's #1554
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
run Windows UT's #1554
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
2329f2f to
57913b9
Compare
762e20e to
feea2ae
Compare
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
…rking into windowsuts
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
common/ioshim_windows.go
Outdated
|
|
||
| _, err := hns.CreateNetwork(network) | ||
| if err != nil { | ||
| return nil |
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.
I know it's a mock, but it still might be nice to put a comment saying why we're tossing the error here. There's a knee-jerk reaction to return all errors, so this seems odd from an eye-glance.
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.
At the least will need a log here.
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.
added comments, since the network call never returns an error we decided to remove that check
| go test ./... | ||
| retryCountOnTaskFailure: 3 | ||
| name: "TestWindows" | ||
| displayName: "Run Windows Tests" |
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.
TODO: run make test-all-windows
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.
discussed to leave as is for now (also don't want to run non-npm tests)
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.
also need special treatment for windows (no make installed)
huntergregory
left a comment
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.
🚀
* run windows UT's * container image * remove container * coverage * run windows UT's * container image * remove container * coverage * fix UTs round 1 * passing UTs for policies pkg * use canary pool * remove bash from windows * fixed unit test * added skip for windows dp translate policy tests * lint updates and remove dataplane_windows_test.go * updated failing tests * fix lint issue * fixed remaining tests * lint update * undo last change * format update * lint fix Co-authored-by: Hunter Gregory <hunterlgregory@gmail.com> Co-authored-by: Vamsi Kalapala <vakr@microsoft.com> Co-authored-by: CK <ckov931@gmail.com> Co-authored-by: Cristina Kovacs <99916704+ck319@users.noreply.github.com>
Reason for Change:
Issue Fixed:
Requirements:
Notes: