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

testing: make the TestMultiThreaded run at a constant time #3035

Merged

Conversation

tsachiherman
Copy link
Contributor

Summary

The TestMultiThreaded was running too slow on Travis machines, causing it to fail due to deadlock detection false-positive.

The change in this PR modify the execution time of the test, ensuring that it won't run for more than 5 second ( which should be enough for data racing detection testing )

Test Plan

This is a test.

algorandskiy
algorandskiy previously approved these changes Oct 11, 2021
txnsync/msgorderingheap_test.go Outdated Show resolved Hide resolved
@tsachiherman tsachiherman merged commit e490f05 into algorand:master Oct 11, 2021
@tsachiherman tsachiherman deleted the tsachi/faster_TestMultiThreaded branch October 11, 2021 15:59
@egieseke egieseke mentioned this pull request Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants