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

replace old mock clock with the standard clock from go-bits/mock #356

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

majewsky
Copy link
Contributor

I highly recommend reading the two commits separately. They describe two separate steps of the refactoring process.

This step changes the tests as little as possible (except for the setup
phase), to verify that no timing behavior has changed in the actual
implementation.
This is a counterpart of the previous commit: This one leaves the actual
implementation behavior entirely untouched, and only changes the clock
behavior in the test code to something way more reasonable. Variable
interpolation is used to make the SQL diffs less brittle.
@coveralls
Copy link

Coverage Status

coverage: 80.056% (-0.02%) from 80.079% when pulling b22f516 on remove-old-mock-clock into 8774ef5 on master.

@SuperSandro2000 SuperSandro2000 merged commit 90b7318 into master Sep 12, 2023
6 checks passed
@SuperSandro2000 SuperSandro2000 deleted the remove-old-mock-clock branch September 12, 2023 13:56
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