Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] Move the packager and cli tests to separate matrix entries #2981

Merged
merged 1 commit into from
Sep 23, 2015

Conversation

ide
Copy link
Contributor

@ide ide commented Sep 23, 2015

The packager and cli tests now run independently of the RN JS tests. When the packager moves to its own repo we can just remove the packager entry from .travis.yml.

The cli tests are also marked as allowed to fail for now.

@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 Sep 23, 2015
The packager and cli tests now run independently of the RN JS tests. When the packager moves to its own repo we can just remove the packager entry from .travis.yml.

The cli tests are also marked as allowed to fail for now.
@ide
Copy link
Contributor Author

ide commented Sep 23, 2015

@mkonicek @vjeux somehow I "fixed" the CLI tests which indicates to me there is some kind of race condition. In this diff the CLI tests are marked as "allowed to fail" but they are actually passing! If you would like me to remove the "allowed to fail" flag let me know.

vjeux added a commit that referenced this pull request Sep 23, 2015
[Tests] Move the packager and cli tests to separate matrix entries
@vjeux vjeux merged commit c52a131 into facebook:master Sep 23, 2015
@mkonicek
Copy link
Contributor

Interesting, let's wait for a few more test runs on Travis to see if the CLI tests are consistently passing now.

@ide ide deleted the separate-cli-tests branch September 23, 2015 23:20
@mkonicek
Copy link
Contributor

From the Jest website: "Runs tests in parallel processes so that they finish sooner".

@ide
Copy link
Contributor Author

ide commented Sep 23, 2015

Queued up 9 more tests: https://travis-ci.org/facebook/react-native/pull_requests.

Jest limits itself to the number of cores: https://github.com/facebook/jest/blob/b95c57797673181389bfb5badb8cc26c5fb372fa/src/TestRunner.js#L39. I am not sure but the Travis VMs may get only one or two while my laptop reports eight.

bestander added a commit to bestander/react-native that referenced this pull request Feb 26, 2016
- removed env variables that I can't find if they are used anywhere
- merged js tests into one command, see facebook#2981 for new discussion
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants