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

use ioutil.TempDir() create charts and operator repo's directories #405

Merged
merged 4 commits into from
Apr 19, 2019

Conversation

xiaojingchen
Copy link
Contributor

stability test needs some dirs to store charts files and tidb-operator repo, these dirs is useful only during case running, but if user run stability test on local these directories may require authorization to access.
this pr use ioutil.TempDir() to replace the directories which were specified in the code.

Copy link
Contributor

@aylei aylei left a comment

Choose a reason for hiding this comment

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

Rest LGTM

tests/cmd/e2e/main.go Show resolved Hide resolved
return nil, err
}
cfg.ChartDir = chartDir
return cfg, nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is the place to clean these temporary directories?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@xiaojingchen
Copy link
Contributor Author

/run-e2e-tests

aylei
aylei previously approved these changes Apr 17, 2019
Copy link
Contributor

@aylei aylei left a comment

Choose a reason for hiding this comment

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

LGTM

@xiaojingchen
Copy link
Contributor Author

/run-e2e-tests

Copy link
Contributor

@aylei aylei left a comment

Choose a reason for hiding this comment

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

LGTM

@xiaojingchen xiaojingchen merged commit ef13e32 into pingcap:master Apr 19, 2019
yahonda pushed a commit that referenced this pull request Dec 27, 2021
Co-authored-by: Caitin <34535727+CaitinChen@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants