-
Notifications
You must be signed in to change notification settings - Fork 850
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
Add Unit test in controllers/timechaos
#314
Conversation
Thanks for your contribution. If your PR get merged, you will be rewarded 50 points. |
@fewdan PLTA if the overall structure is ok, mainly about how |
@oraluben Thank you for your contribution. I think your structure is fine. |
/test |
@fewdan PTAL |
controllers/timechaos
controllers/timechaos
/test |
Codecov Report
@@ Coverage Diff @@
## master #314 +/- ##
==========================================
- Coverage 60.34% 58.72% -1.62%
==========================================
Files 44 44
Lines 2890 2704 -186
==========================================
- Hits 1744 1588 -156
+ Misses 1026 1003 -23
+ Partials 120 113 -7
Continue to review full report at Codecov.
|
@lucklove PTAL too |
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
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
/merge |
conn *grpc.ClientConn | ||
} | ||
|
||
func (c *GrpcChaosDaemonClient) Close() error { |
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.
exported method GrpcChaosDaemonClient.Close should have comment or be unexported
conn *grpc.ClientConn | ||
} | ||
|
||
func (c *GrpcChaosDaemonClient) Close() error { |
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.
exported method GrpcChaosDaemonClient.Close should have comment or be unexported
return nil, mockError("ContainerKill") | ||
} | ||
|
||
func (c *MockChaosDaemonClient) Close() error { |
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.
exported method MockChaosDaemonClient.Close should have comment or be unexported
/run-all-tests |
UCP #265
What problem does this PR solve?
#265
What is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: