-
Notifications
You must be signed in to change notification settings - Fork 31
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 tests for args.go #140
test: add tests for args.go #140
Conversation
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
@rjsadow Can you please have a look why the tests are failing, cant figure it out. |
Understanding where/how this line came to be: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_hydrophone/140/pull-hydrophone-simple-run/1751961702041128960#1:build-log.txt%3A139. If you also look at line 144, at the end there's a |
I'm guessing we're not handling a case properly when extra-args are empty. |
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
8ddc06b
to
aca59fb
Compare
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Facing a really weird behaviour, the tests here are running properly with the current changes but while trying test this out locally, it is showing an error. Trying to run: and getting
Not just with this branch, but facing the same behavior with the Any thoughts on this? @rjsadow @reetasingh |
strange. not getting error same from main
|
c991f46
to
db73fb3
Compare
This check should not be running in this case right? as I have not defined any If there is no |
this will help #141 |
/hold wait for #141 to be merged first |
@rakshitgondwal PTAL #141 , added a cleaner solution. Thanks for highlighting the problem |
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
/hold cancel |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rakshitgondwal, rjsadow 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 |
Adds additional test cases for
args.go
inargs_test.go
.