build: enable shard_count for some jasmine tests that have many specs (#29196)

This partitions the spects across multiple processes so they run in parallel.

PR Close #29196
This commit is contained in:
Alex Eagle 2019-03-08 16:35:36 -08:00 committed by Matias Niemelä
parent 410ccacf38
commit a5c747f46d
3 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ jasmine_node_test(
data = [
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
],
shard_count = 4,
tags = [
"ivy-only",
],

View File

@ -23,6 +23,7 @@ jasmine_node_test(
data = [
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
],
shard_count = 4,
deps = [
":ngtsc_lib",
"//tools/testing:node_no_angular",

View File

@ -58,6 +58,7 @@ ts_library(
jasmine_node_test(
name = "test",
bootstrap = ["angular/tools/testing/init_node_spec.js"],
shard_count = 4,
deps = [
":test_lib",
":test_node_only_lib",