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

[Hold] Add format option e2e tests #1763

Conversation

AndrewSirenko
Copy link
Contributor

Is this a bug fix or adding new feature?
Feature

What is this PR about? / Why do we need it?
Incomplete PR for adding format option e2e tests. They test that a volume created with a supported custom format option successfully mount and are later resizable.

Considering refactoring part of format_options.go into a tester file like other e2e tests.

See individual commits for conceptual breakdown.

For this PR I'm looking for feedback on:

  • Any TODO question
  • Test Readability

What testing is done?
ginkgo run -v --focus='[format-options'

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 28, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from andrewsirenko. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 28, 2023
Context(fmt.Sprintf("with an %s filesystem", fsType), func() {
// TODO: is t clear? Or should it be 'formatOptionTestCaseValues'
for _, t := range formatOptionTests {
if fsTypeDoesNotSupportFormatOptionParameter(fsType, t.createVolumeParameterKey) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can move to inside spec itself with ginkgo.Skip() to be slightly cleaner!

@AndrewSirenko AndrewSirenko deleted the formattingOptionE2eTestOld branch October 2, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. 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.

2 participants