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

Improve faker seed for better reproducibility. #14743

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

mshima
Copy link
Member

@mshima mshima commented Apr 21, 2021

Currently, reproducibility depends on factors like order of entity generation.
Eg: Adding a new entity may change source of others entities, and regenerating just after, changes again.

With this PR, reproducibility is done for each file. The source should change only if the entity changes or the source file changes.

Closes #14549


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding skip-ci label, you can still see CI build result at your branch.

@DanielFran DanielFran merged commit ea05f3b into jhipster:main Apr 22, 2021
@pascalgrimaud pascalgrimaud added this to the 7.1.0 milestone May 28, 2021
@mshima mshima deleted the skip_ci-resetFakerSeed branch June 19, 2021 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Values generated by Faker are changing on regeneration
3 participants