-
Notifications
You must be signed in to change notification settings - Fork 17
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
Test:Add unit test of triggerinstance controller #17
Test:Add unit test of triggerinstance controller #17
Conversation
Signed-off-by: Mcduller <1596582524@qq.com>
Actually, you don't need to close your pr if the check fails (or if there any special reason that you need to close this?) |
ok,I got it ,i will reopen it |
Signed-off-by: Mcduller <1596582524@qq.com>
… trigger_instance_unit_test # Conflicts: # controllers/triggerinstance/suite_test.go # controllers/triggerinstance/triggerinstance_controller_test.go # pkg/util/test_utils.go
@charlie0129 hi, I had fix the check error, could you review this pr ? |
LeaderElectionNamespace: "default", | ||
LeaderElectionID: "test", | ||
}) | ||
var done = make(chan interface{}) |
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.
What does this done
do?
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.
What does this
done
do?
It's redundant, i will remove it.
Signed-off-by: Mcduller <1596582524@qq.com>
… trigger_instance_unit_test
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.
Good job!
* Test:Add unit test of triggerinstance controller Signed-off-by: Mcduller <1596582524@qq.com> * Test:Add unit test of triggerinstance controller Signed-off-by: Mcduller <1596582524@qq.com> Signed-off-by: Mcduller <1596582524@qq.com> Signed-off-by: Amit Singh <singhamitch@outlook.com>
I add the normal case about creating triggerinstance and relevant resource of triggerinstance controller
Signed-off-by: Mcduller 1596582524@qq.com