-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Otherwise there are issues when running the test locally on a machine that isn't in UTC. CURRENT_TIMESTAMP in the postgress container will return a time in UTC, but time.Now() will return it in the local time which messes up the TimeoutManager. I found this when running tests with the TimeoutManager, and noticed it was timing out peers immediately instead of after the minute that is configured. Since we can't test the database in tests we can't write a feature test for this yet. We'll have to write this after #65
- Loading branch information
1 parent
491acee
commit 3f7c2f7
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters