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

[Merged by Bors] - Replace clock mocking library #5017

Closed
wants to merge 1 commit into from

Conversation

fasmat
Copy link
Member

@fasmat fasmat commented Sep 15, 2023

Motivation

github.com/benbjohnson/clock has been archived a while ago. This PR replaces the outdated dependency with github.com/jonboulle/clockwork.

Changes

  • Replace uses of github.com/benbjohnson/clock with github.com/jonboulle/clockwork

Test Plan

existing tests pass

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan
  • Update documentation as needed
  • Update changelog as needed

@fasmat fasmat self-assigned this Sep 15, 2023
@fasmat
Copy link
Member Author

fasmat commented Sep 15, 2023

bors try

bors bot added a commit that referenced this pull request Sep 15, 2023
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #5017 (972646d) into develop (055f185) will decrease coverage by 0.1%.
The diff coverage is 100.0%.

@@            Coverage Diff            @@
##           develop   #5017     +/-   ##
=========================================
- Coverage     77.2%   77.1%   -0.1%     
=========================================
  Files          254     254             
  Lines        30350   30350             
=========================================
- Hits         23433   23423     -10     
- Misses        5397    5408     +11     
+ Partials      1520    1519      -1     
Files Changed Coverage Δ
hare3/hare.go 83.8% <100.0%> (ø)
timesync/clock.go 91.1% <100.0%> (-6.2%) ⬇️
timesync/clock_options.go 100.0% <100.0%> (ø)

... and 5 files with indirect coverage changes

@bors
Copy link

bors bot commented Sep 15, 2023

try

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@fasmat
Copy link
Member Author

fasmat commented Sep 15, 2023

bors merge

bors bot pushed a commit that referenced this pull request Sep 15, 2023
## Motivation
`github.com/benbjohnson/clock` has been archived a while ago. This PR replaces the outdated dependency with `github.com/jonboulle/clockwork`.

## Changes
- Replace uses of `github.com/benbjohnson/clock` with `github.com/jonboulle/clockwork`

## Test Plan
existing tests pass

## TODO
<!-- This section should be removed when all items are complete -->
- [x] Explain motivation or link existing issue(s)
- [x] Test changes and document test plan
- [x] Update documentation as needed
- [x] Update [changelog](../CHANGELOG.md) as needed
@bors
Copy link

bors bot commented Sep 15, 2023

Build failed:

@fasmat
Copy link
Member Author

fasmat commented Sep 15, 2023

Flaky test TestCache_Account_HappyFlow

bors merge

bors bot pushed a commit that referenced this pull request Sep 15, 2023
## Motivation
`github.com/benbjohnson/clock` has been archived a while ago. This PR replaces the outdated dependency with `github.com/jonboulle/clockwork`.

## Changes
- Replace uses of `github.com/benbjohnson/clock` with `github.com/jonboulle/clockwork`

## Test Plan
existing tests pass

## TODO
<!-- This section should be removed when all items are complete -->
- [x] Explain motivation or link existing issue(s)
- [x] Test changes and document test plan
- [x] Update documentation as needed
- [x] Update [changelog](../CHANGELOG.md) as needed
@bors
Copy link

bors bot commented Sep 15, 2023

Pull request successfully merged into develop.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title Replace clock mocking library [Merged by Bors] - Replace clock mocking library Sep 15, 2023
@bors bors bot closed this Sep 15, 2023
@bors bors bot deleted the replace-clock-mock-library branch September 15, 2023 19:31
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.

2 participants