Skip to content

Conversation

@UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Apr 14, 2018

Lots of test are currently running in realtime which is not very realistic giving the fact that the way it works is "mine a bunch of blocks on top of genesis" and genesis block is a very old one. Mocking the time of tests to the genesis block time or the time of the last cached block (depending on a specific test) should make it a bit more realistic and help catch possible sync issues.

Copy link

@codablock codablock left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 merged commit 53093c6 into dashpay:develop Apr 18, 2018
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
@UdjinM6 UdjinM6 deleted the mocktimetests branch November 26, 2020 11:38
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