Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Increase timeout for atom-application.test.js on CI #19523

Merged
merged 1 commit into from
Jun 13, 2019

Conversation

as-cii
Copy link
Contributor

@as-cii as-cii commented Jun 13, 2019

Fixes #19512

On Azure and Travis, we recently started observing a few test failures in atom-application.test.js.

After staring at those tests for a bit, it doesn't seem like they are failing due to a race condition. Instead, it is possible that these tests are simply timing out due to CI containers sometimes being overloaded and, thus, slower. I tested this hypothesis locally by running tests on a VM while stress-testing the host machine. Tests would eventually have passed, but they timed out before having the chance to do so.

This commit increases the timeout on CI to 10 seconds for AtomApplication tests in an attempt to fix the spurious failures we were observing. This is similar to what we've historically done for renderer process tests (see spec/spec-helper.coffee).

On Azure and Travis, we recently started observing a few test failures 
in atom-application.test.js.

After staring at those tests for a bit, it doesn't seem like they are 
failing due to a race condition. Instead, it is possible that these 
tests are simply timing out due to CI containers sometimes being 
overloaded and, thus, slower.  I tested this hypothesis locally by 
running tests on a VM while stress-testing the host machine. Tests would 
eventually have passed, but they  timed out before having the chance to 
do so.

This commit increases the timeout on CI to 10 seconds for 
`AtomApplication` tests in  an attempt to fix the spurious failures we 
were observing. This is similar to what we've historically done for 
renderer process tests (see 
https://github.com/atom/atom/blob/7faea50190a8c6738b6ecee105645ee274a32b6e/spec/spec-helper.coffee#L50).
@jasonrudolph jasonrudolph merged commit 7aaf836 into master Jun 13, 2019
@jasonrudolph jasonrudolph deleted the as/longer-main-process-tests-timeout branch June 13, 2019 16:58
jasonrudolph added a commit that referenced this pull request Jun 13, 2019
Increase timeout for atom-application.test.js on CI
@gifhuppp
Copy link

gifhuppp commented Oct 5, 2021

atom-application.test.js บน CI #19523

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants