-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat: migrate smb API group to library model #245
feat: migrate smb API group to library model #245
Conversation
/cc @mauriciopoppe |
b[i] = charset[seededRand.Intn(len(charset))] | ||
} | ||
return string(b) | ||
func TestSmbAPIGroup(t *testing.T) { |
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.
Change to SMB tracked in #246
integrationtests/utils.go
Outdated
|
||
var seededRand = rand.New(rand.NewSource(time.Now().UnixNano())) | ||
|
||
func stringWithCharset(length int, charset string) string { |
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 utils not used by any other integration test, I'd limit the scope of these functions to be inside the SMB test
I think volumeInit
was used in many API Groups so I guess that one is ok
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.
moved back in latest commit :)
Saw this in the last run:
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexander-ding, mauriciopoppe 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 |
What type of PR is this?
/kind api-change
What this PR does / why we need it:
Part of #217 (migrating one API Group to v2's library based model). The v1 model will stick around until all API groups are migrated.
Which issue(s) this PR fixes:
Fixes #237
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Deferring release note till all API groups are migrated.