Skip to content

Conversation

@isovector
Copy link

Description

This PR is a workaround for input-output-hk/io-sim#232, where very small threadDelays round down to 0 microseconds in IO, but are considered non-zero in io-sim.

Before this PR, the genesis tests can (and frequently do) deadlock when run in IO. This PR fixes the potential for deadlock.

Copy link
Contributor

@jasagredo jasagredo left a comment

Choose a reason for hiding this comment

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

Two of the three commits are empty. Squash them or remove them, please.

EDIT: also please mention that this is related to the PeerSimulator or the Genesis tests in the PR title, at the moment it sounds like you are fixing it everywhere in the code (which might be true as the diff might be the only place where it needs fixing, but still).

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