Skip to content

Added unit tests for identity server, fixed small spec inconsistency #50

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

Merged
merged 3 commits into from
Jul 10, 2018

Conversation

davidz627
Copy link
Contributor

Added unit tests. In the process found out the GetPluginInfo was missing vendor version so it was fixed to return the vendor version now.

vendor version is: The version of the driver as declared by the vendor (driver author)
so it makes sense to be a const and not a flag

/assign @msau42

Fixes: #47

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 3, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidz627

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from msau42 and saad-ali July 3, 2018 20:06
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 3, 2018
@davidz627 davidz627 force-pushed the feature/identityTests branch from f5e0821 to eee158c Compare July 3, 2018 20:06
@@ -52,6 +57,7 @@ func (gceDriver *GCEDriver) SetupGCEDriver(cloudProvider gce.GCECompute, mounter

gceDriver.name = name
gceDriver.nodeID = nodeID
gceDriver.vendorVersion = vendorVersion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a place down in the cloud provider file where you're putting the driver name/version in the string. You may want to plumb this down to there too

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 9, 2018
@davidz627
Copy link
Contributor Author

/hold

Going to implement better compile time versioning injection

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 10, 2018
@davidz627 davidz627 force-pushed the feature/identityTests branch from 48bcfcd to f558d59 Compare July 10, 2018 17:05
@davidz627
Copy link
Contributor Author

/hold cancel

Added version compile time injection

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 10, 2018
@davidz627
Copy link
Contributor Author

@msau42 ready for review

@msau42
Copy link
Contributor

msau42 commented Jul 10, 2018

/lgtm

@davidz627 davidz627 force-pushed the feature/identityTests branch from f558d59 to dd7e5c0 Compare July 10, 2018 17:10
@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Jul 10, 2018
@msau42
Copy link
Contributor

msau42 commented Jul 10, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 10, 2018
@davidz627 davidz627 force-pushed the feature/identityTests branch from dd7e5c0 to f5d59ac Compare July 10, 2018 19:13
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 10, 2018
@davidz627
Copy link
Contributor Author

/retest

@davidz627
Copy link
Contributor Author

@msau42 for re-lgtm, sorry

@msau42
Copy link
Contributor

msau42 commented Jul 10, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 10, 2018
@k8s-ci-robot k8s-ci-robot merged commit 605f5a9 into kubernetes-sigs:master Jul 10, 2018
@davidz627 davidz627 deleted the feature/identityTests branch July 10, 2018 21:54
bertinatto pushed a commit to bertinatto/gcp-compute-persistent-disk-csi-driver that referenced this pull request Nov 30, 2023
STOR-1392: Rebase to v1.12.2 for OCP 4.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit tests for Identity
3 participants