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:
parent
2df4faaf15
commit
0698b2beca
|
@ -35,7 +35,7 @@ var TimersTest = React.createClass({
|
|||
},
|
||||
|
||||
componentDidMount() {
|
||||
this.testSetTimeout0();
|
||||
this.setTimeout(this.testSetTimeout0, 1000);
|
||||
},
|
||||
|
||||
testSetTimeout0() {
|
||||
|
|
Loading…
Reference in New Issue