Skip to content

Conversation

douglowder
Copy link
Contributor

  • 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.

@facebook-github-bot
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @sebmarkbage to be a potential reviewer.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Oct 26, 2016
@douglowder
Copy link
Contributor Author

@bestander here's another change that I think might improve test stability....

@bestander
Copy link
Contributor

@facebook-github-bot shipit

@facebook-github-bot facebook-github-bot added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Oct 26, 2016
@facebook-github-bot
Copy link
Contributor

@bestander has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@bestander
Copy link
Contributor

Thanks, @dlowder-salesforce.
This merged on master branch, let's see if it improves stability.

I looked at the last 10 build failures on Master branch https://travis-ci.org/facebook/react-native/builds/170729100
6 out of 10 were caused by the objc-tvos.
Do you have an idea why it seems less stable than objc-ios?

@douglowder
Copy link
Contributor Author

@bestander Looks like there are intermittent failures with testLogging and testPropertiesUpdateTest. The latter happens when the simulator won't come up sometimes, and can also happen in objc-test-ios. The logging test failures seem to be cases where the message text doesn't match expected values when running the tvOS tests. It's a bit strange -- I would expect those failures to happen every time, or not at all. I'll take a look.

@douglowder douglowder deleted the fixTimersTest branch October 26, 2016 18:18
@douglowder
Copy link
Contributor Author

Interesting.... If I restart the packager and remove UIExplorer app from the tvOS simulator, it seems to fail every time, but not always at the same line. Bizarre. It succeeds after that.

@douglowder
Copy link
Contributor Author

@bestander Found the issue. On tvOS, logging messages (due to missing components that don't exist in tvOS) are arriving at the same time as the test log messages, causing intermittent test failures. Submitting a PR to fix this.

DanielMSchmidt pushed a commit to DanielMSchmidt/react-native that referenced this pull request Jan 4, 2017
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 facebook#10548

Differential Revision: D4080920

Pulled By: bestander

fbshipit-source-id: 2dec86073786658f24b809284123815e77fbbd99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants