bzl: tune other jest tests (#49898)

Apply the same tactic from
https://github.com/sourcegraph/sourcegraph/pull/49897 to other targets.

## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

CI. 

## App preview:

- [Web](https://sg-web-jh-bzl-tune-other-jest-tests.onrender.com/search)

Check out the [client app preview
documentation](https://docs.sourcegraph.com/dev/how-to/client_pr_previews)
to learn more.
This commit is contained in:
Jean-Hadrien Chabran 2023-03-23 13:37:33 +01:00 committed by GitHub
parent da6c749e36
commit 29783bf2aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 1 deletions

View File

@ -261,4 +261,7 @@ jest_test(
data = [
":branded_tests",
],
patch_node_fs = False,
shard_count = 6,
tags = ["no-sandbox"],
)

View File

@ -297,4 +297,7 @@ jest_test(
data = [
":browser_tests",
],
patch_node_fs = False,
shard_count = 6,
tags = ["no-sandbox"],
)

View File

@ -515,9 +515,12 @@ filegroup(
jest_test(
name = "test",
size = "enormous", # make sure bazel reserves enough RAM for this.
timeout = "long",
timeout = "moderate",
data = [
":shared_tests",
":snapshots",
],
patch_node_fs = False,
shard_count = 6,
tags = ["no-sandbox"],
)

View File

@ -549,4 +549,7 @@ jest_test(
data = [
":wildcard_tests",
],
patch_node_fs = False,
shard_count = 6,
tags = ["no-sandbox"],
)