Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Tests sleep for 1 epoch duration expecting the global epoch to advance #1444

Open
mbutrovich opened this issue Jun 29, 2018 · 0 comments
Open
Labels

Comments

@mbutrovich
Copy link
Contributor

We've found a number of tests (serializable_transaction_test, for example) that sleep a thread for exactly the duration of an epoch and expect the global epoch to have advanced. However, this window may be too short depending on how threads are scheduled on the host, and causes tests to randomly fail. These tests should either sleep a bit longer, or deterministically advance the global epoch.

@mbutrovich mbutrovich changed the title Tests sleep for 1 epoch duration expect the global epoch to advance Tests sleep for 1 epoch duration expecting the global epoch to advance Jun 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant