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 https://github.com/facebook/react-native/pull/10548

Differential Revision: D4080920

Pulled By: bestander

fbshipit-source-id: 2dec86073786658f24b809284123815e77fbbd99
This commit is contained in:
Douglas Lowder 2016-10-26 03:08:47 -07:00 committed by Facebook Github Bot
parent 2df4faaf15
commit 0698b2beca
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ var TimersTest = React.createClass({
},
componentDidMount() {
this.testSetTimeout0();
this.setTimeout(this.testSetTimeout0, 1000);
},
testSetTimeout0() {