Skip to content
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 for MachineScope.GetBootstrapData() #1410

Closed
ncdc opened this issue Dec 10, 2019 · 10 comments · Fixed by #1490
Closed

Add unit test for MachineScope.GetBootstrapData() #1410

ncdc opened this issue Dec 10, 2019 · 10 comments · Fixed by #1490
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Milestone

Comments

@ncdc
Copy link
Contributor

ncdc commented Dec 10, 2019

To ensure we don't regress on base64 encoding

/help
/good-first-issue
/milestone v0.5.0
/priority important-longterm

@k8s-ci-robot
Copy link
Contributor

@ncdc:
This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

To ensure we don't regress on base64 encoding

/help
/good-first-issue
/milestone v0.5.0
/priority important-longterm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added this to the v0.5.0 milestone Dec 10, 2019
@k8s-ci-robot k8s-ci-robot added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Dec 10, 2019
@vincepri
Copy link
Member

We should also have a unit test in one of the create instance mock functions

@neeleshkorade
Copy link

/assign

@neeleshkorade
Copy link

We should also have a unit test in one of the create instance mock functions

@vincepri could you elaborate this bit more? Particularly- could you point me to a create instance mock function?

@vincepri
Copy link
Member

I was talking about this function https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/pkg/cloud/services/ec2/instances_test.go#L262. You can either add a new test or modify an existing one to test the behavior we expect.

@ncdc
Copy link
Contributor Author

ncdc commented Jan 27, 2020

@neeleshkorade are you still interested in working on this?

@neeleshkorade
Copy link

neeleshkorade commented Jan 27, 2020 via email

@ncdc
Copy link
Contributor Author

ncdc commented Jan 27, 2020

Sure thing - just checking in. Thanks!

@randomvariable
Copy link
Member

@neeleshkorade maybe worth holding on slightly. i've had to refactor those calls a bit to clean up the use of Secrets Manager in #1490

@neeleshkorade
Copy link

Thanks @randomvariable will wait for #1490 to go in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants