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

Improve testing time periods #1

Open
s1na opened this issue Aug 24, 2018 · 0 comments
Open

Improve testing time periods #1

s1na opened this issue Aug 24, 2018 · 0 comments
Labels

Comments

@s1na
Copy link
Member

s1na commented Aug 24, 2018

There are various periods in a TCR, such as listing period, vote commit and vote reveal which use block timestamps to calculate how long has passed and compare it to the parameters given when creating the TCR.

At the moment, in our integration tests, we set low (2-4 seconds) periods, and sleep when we want to test the next stage of the flow, which is not reliable and easy to test.

@s1na s1na added the test label Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant