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

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

PR Close #31009
This commit is contained in:
Alex Eagle 2019-03-08 16:35:36 -08:00 committed by Andrew Kushnir
parent 3998335188
commit db08fd2607
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

@ -59,6 +59,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",