-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 Performance Tests on CI #24925
Fix Performance Tests on CI #24925
Conversation
youknowriad
commented
Aug 31, 2020
•
edited
Loading
edited
- error handling
- timeout issue.
Size Change: 0 B Total Size: 1.17 MB ℹ️ View Unchanged
|
@@ -17,7 +17,7 @@ import { | |||
const PUPPETEER_TIMEOUT = process.env.PUPPETEER_TIMEOUT; | |||
|
|||
// The Jest timeout is increased because these tests are a bit slow | |||
jest.setTimeout( PUPPETEER_TIMEOUT || 100000 ); | |||
jest.setTimeout( PUPPETEER_TIMEOUT || 10000000 ); |
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.
Isn't this a really big timeout? Do we need it to be that big ( almost 3 hours )? I do not know the PUPPETEER_TIMEOUT
env variable's value though..
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.
I think we don't really care about the timeout for the performance tests. They can take a long time if needed, what's important is the result of each typing key... The tests take a long time because they insert thousands of blocks and repeat the typing operation multiple times (same for selection)
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.
Now that the actual performance issue is fixed on master, the previous timeout should be sufficient though, so I restored it.
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.
This looks good. Thanks @youknowriad 💯
Waiting for CI to see if it passes or not. |
06fe21a
to
852dc9d
Compare