-
Notifications
You must be signed in to change notification settings - Fork 324
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
Backfill unit tests for peering dialler #1265
Conversation
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.
This looks amazing and the unit tests are so easy to compare to the code cases and it's so thorough! I love how you've reduced the verbosity also!! Just a few small nits!
- Clean up some of the logic in peering dialler and acceptor - Rename handler -> connectWebhook
de51d6c
to
a398350
Compare
return []runtime.Object{dialer} | ||
}, | ||
expErr: "PeeringDialer spec.peer.secret was not set", | ||
peeringSecret: func(_ string) *corev1.Secret { 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.
these are so cool :)
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.
Looks great, thanks for taking the time to chat about it with me!
- Clean up some of the logic in peering dialler and acceptor - Rename handler -> connectWebhook
- Clean up some of the logic in peering dialler and acceptor - Rename handler -> connectWebhook
- Clean up some of the logic in peering dialler and acceptor - Rename handler -> connectWebhook
- Clean up some of the logic in peering dialler and acceptor - Rename handler -> connectWebhook
- Clean up some of the logic in peering dialler and acceptor - Rename handler -> connectWebhook
- Clean up some of the logic in peering dialler and acceptor - Rename handler -> connectWebhook
Changes proposed in this PR:
How I've tested this PR:
How I expect reviewers to test this PR:
Checklist: