-
Notifications
You must be signed in to change notification settings - Fork 945
Firestore: Run 'Firestore Integration Tests' jobs in parallel #7558
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
Conversation
Size Report 1Affected ProductsNo changes between base commit (4decdf6) and merge commit (ed88874).Test Logs |
|
Size Analysis Report 1Affected ProductsNo changes between base commit (4decdf6) and merge commit (4c2f06f).Test Logs |
.github/workflows/test-all.yml
Outdated
- name: Run unit tests | ||
run: | | ||
xvfb-run yarn lerna run --concurrency 4 test:ci --scope '@firebase/firestore*' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE TO SELF: This also needs to test the other packages, like firestore-compat
@hsubox76 @DellaBitta Could one of you take a look at this PR? I think it needs your approval to merge. |
Edit
test-all.yml
to run theFirestore Integration Tests
job differently. Previously, it calledrun_tests_in_ci.js
to run the tests; however, this "wrapper" script has issues where the log output is truncated, making it virtually impossible to debug test failures, or even know which tests are failing. After struggling with a fix for the truncation issue (#7553) we eventually gave up and instead just create one job per npm script that gets run. This has a few benefits, not the least of which is the tests truly running in parallel but also does not lead to truncated logs.This PR is heavily based on a similar change to other Firestore github actions checks: #7523