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:
parent
3998335188
commit
db08fd2607
|
@ -21,6 +21,7 @@ jasmine_node_test(
|
||||||
data = [
|
data = [
|
||||||
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
||||||
],
|
],
|
||||||
|
shard_count = 4,
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
],
|
],
|
||||||
|
|
|
@ -23,6 +23,7 @@ jasmine_node_test(
|
||||||
data = [
|
data = [
|
||||||
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
||||||
],
|
],
|
||||||
|
shard_count = 4,
|
||||||
deps = [
|
deps = [
|
||||||
":ngtsc_lib",
|
":ngtsc_lib",
|
||||||
"//tools/testing:node_no_angular",
|
"//tools/testing:node_no_angular",
|
||||||
|
|
|
@ -59,6 +59,7 @@ ts_library(
|
||||||
jasmine_node_test(
|
jasmine_node_test(
|
||||||
name = "test",
|
name = "test",
|
||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
|
shard_count = 4,
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
":test_node_only_lib",
|
":test_node_only_lib",
|
||||||
|
|
Loading…
Reference in New Issue