Permalink
Browse files

Integration test stability: add delay before starting TimersTest

Summary:
* Motivation

Locally I'm seeing consistent failures in IntegrationTests/TimersTest.js.  Adding a little delay before starting the first test seems to make these issues go away.
Closes #10548

Differential Revision: D4080920

Pulled By: bestander

fbshipit-source-id: 2dec86073786658f24b809284123815e77fbbd99
  • Loading branch information...
1 parent 2df4faa commit 0698b2beca165dc77fb23194d7d61ac46987cc09 @dlowder-salesforce dlowder-salesforce committed with Facebook Github Bot Oct 26, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 IntegrationTests/TimersTest.js
@@ -35,7 +35,7 @@ var TimersTest = React.createClass({
},
componentDidMount() {
- this.testSetTimeout0();
+ this.setTimeout(this.testSetTimeout0, 1000);
},
testSetTimeout0() {

0 comments on commit 0698b2b

Please sign in to comment.