-
Notifications
You must be signed in to change notification settings - Fork 415
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
[Easy] 5-minute timeout for smoke test tutorials #1707
Conversation
@esantorella has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small fix in-line, LGTM otherwise!
Codecov Report
@@ Coverage Diff @@
## main #1707 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 170 170
Lines 14610 14610
=========================================
Hits 14610 14610 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Co-authored-by: Sait Cakmak <saitcakmak@outlook.com>
@esantorella has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@esantorella merged this pull request in 10b35f9. |
Summary: ## Motivation Some tutorials were being ignored both in "smoke test" and "standard" runs because they OOM or time out in standard runs, but they actually run fine in "smoke test" mode. I moved those three tutorials to the list now called `RUN_IF_SMOKE_TEST_IGNORE_IF_STANDARD` (renamed for clarity). Pull Request resolved: #1708 Test Plan: Ran locally; should run in CI ## Related PRs Depends on #1707 (add five-minute timeout for smoke test tutorials) Reviewed By: saitcakmak Differential Revision: D43637457 Pulled By: esantorella fbshipit-source-id: 6f5f1f02bd381f552944763ba8f697cc2cafc8a7
Motivation
Currently, all tutorials time out at 30 minutes. We want smoke test tutorials to take much less time than that, and currently they all run in under 3.5 minutes, and most run much faster than that (see here). As we work to get more tutorials online, it would be good to a have a clear idea of what is fast enough for a smoke-test tutorial run.
Test Plan
Checked that it ran locally; unit tests