Skip to content

Disable retries gem sleep in all specs#10500

Merged
zachmargolis merged 2 commits intomainfrom
margolis-disable-sleep-in-specs
Apr 24, 2024
Merged

Disable retries gem sleep in all specs#10500
zachmargolis merged 2 commits intomainfrom
margolis-disable-sleep-in-specs

Conversation

@zachmargolis
Copy link
Contributor

Why: so that the test suite runs faster

When tracking down some spec failures in #10491, I found that one spec was very slow! This likely affects other files too.

Before

Proofing::Aamva::Request::SecurityTokenRequest ....... (1.61s)

After

Proofing::Aamva::Request::SecurityTokenRequest ....... (0.17s)

(to get this formatting, I installed the fivemat gem locally and ran it with FIVEMAT_PROFILE=1)

- Why: so that the test suite runs faster

changelog: Source code, Internal, Speed up test runs by disabling retry sleeps
@zachmargolis zachmargolis requested a review from a team April 24, 2024 16:07
changelog: Internal, Source code, Speed up test runs by disabling retry sleeps
@zachmargolis zachmargolis merged commit efbb4c4 into main Apr 24, 2024
@zachmargolis zachmargolis deleted the margolis-disable-sleep-in-specs branch April 24, 2024 18:12
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.

3 participants