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

Add seed parameter to turbo tests #33

Merged
merged 5 commits into from
Jul 10, 2023

Conversation

mRudzki
Copy link
Contributor

@mRudzki mRudzki commented May 11, 2023

Improve the reproducibility by allowing the user to define seeds. It can show randomly failing specs (I have had some project that had problem with those) failing only with specific seed.

mrudzki added 4 commits May 11, 2023 14:16
1. When seed is not sent
2. With response status in cli being 0 even when failures appeared
Copy link
Collaborator

@ilyazub ilyazub left a comment

Choose a reason for hiding this comment

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

Thanks, @mRudzki! I'll review your PR and share my feedback.

P.S. Interestingly, Discourse also introduced a similar change recently: discourse/discourse#21598

lib/turbo_tests/runner.rb Outdated Show resolved Hide resolved
Co-authored-by: Illia <282605+ilyazub@users.noreply.github.com>
Copy link
Collaborator

@ilyazub ilyazub left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks, @mRudzki 👍

@ilyazub ilyazub merged commit 4aedbbb into serpapi:master Jul 10, 2023
ilyazub added a commit that referenced this pull request Nov 22, 2023
Changes
* Remove the default `seed` value (ref: #33)
* Use exit status from RSpec calls (ref: #20)
ilyazub added a commit that referenced this pull request Nov 22, 2023
Changes
* Remove the default `seed` value (ref: #33)
* Use exit status from RSpec calls (ref: #20)
@ilyazub ilyazub mentioned this pull request Jan 17, 2024
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.

None yet

2 participants