mirror of https://github.com/pulumi/pulumi.git
b2740680cf
Whenever yarn runs it holds a global lock, preventing any other yarn process from running. Since our tests potentially try to run multiple yarn processes in parallel, this reduces the potential for parallelism in the tests dramatically. By using `npm install` instead of `yarn install`, and runnig `tsc` directly instead of using `yarn run`, the time to run this test goes from >500s to ~90s when trying to run `nodejs/gen_program_test/batch1`. Similar improvements can be expected from the other batches. This should also help speed up CI, since this is part of the long tail of long running tests. This is another thing I noticed during the hackathon (running all tests locally with bazel the difference was even more extreme). |
||
---|---|---|
.. | ||
gen_program_test | ||
tstypes | ||
doc.go | ||
doc_test.go | ||
gen.go | ||
gen_fileinfo.go | ||
gen_intrinsics.go | ||
gen_lazyloads.go | ||
gen_lazyloads_test.go | ||
gen_program.go | ||
gen_program_expressions.go | ||
gen_program_lower.go | ||
gen_program_test.go | ||
gen_program_utils.go | ||
gen_test.go | ||
importer.go | ||
test.go | ||
utilities.go | ||
utilities.ts | ||
utilities_test.go |