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

fix: slow test exceed circle ci timeout limit #600

Merged
merged 2 commits into from
Mar 11, 2020

Conversation

boolafish
Copy link
Contributor

@boolafish boolafish commented Mar 10, 2020

Note

  • reduce the iteration to 700, which would take 4 hours to run.
  • increase the timeout for stability

closes #558

Test

enabled on CI temporary: https://app.circleci.com/jobs/github/omisego/plasma-contracts/10514

kevsul
kevsul previously approved these changes Mar 10, 2020
pik694
pik694 previously approved these changes Mar 10, 2020
@boolafish boolafish dismissed stale reviews from pik694 and kevsul via 8227e45 March 10, 2020 14:14
kevsul
kevsul previously approved these changes Mar 10, 2020
@boolafish boolafish requested a review from pik694 March 10, 2020 14:24
pik694
pik694 previously approved these changes Mar 10, 2020
@@ -144,7 +144,7 @@ jobs:
- run:
name: Run slow tests
working_directory: ~/repo/plasma_framework/python_tests
no_output_timeout: 10h
no_output_timeout: 5h # Circl CI limits to 5hr max: https://discuss.circleci.com/t/job-times-out-after-5-hours/32220/3
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually, this setting has little to do with the job timeout itself, since each iteration prints sth to stdout.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, you're right. I remove the no_output_timeout to not confuse anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay...that is a bad decision to remove it totally as 10 minutes defaults seems not enough

https://app.circleci.com/pipelines/github/omisego/plasma-contracts/2031/workflows/472e1621-cfea-4290-9be3-b323b51d92dd/jobs/10568

Long running test is failing after around 3~400 iterations. It is failing due to timeout.
This commit tries to increase the timeout period of web3 to see if it helps.

issue: #558
ref: https://gitter.im/pipermerriam/web3.py?at=58fe1da7cfec9192726dbdcd
@boolafish boolafish merged commit 760c541 into master Mar 11, 2020
@boolafish boolafish deleted the boolafish/fix_slow_test branch March 11, 2020 10:35
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.

Fix slow test failure in master branch
3 participants