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:
parent
410ccacf38
commit
a5c747f46d
|
@ -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",
|
||||||
|
|
|
@ -58,6 +58,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