Skip to content

Commit

Permalink
Merge #86621
Browse files Browse the repository at this point in the history
86621: build: increase timeout of cluster-ui tests r=healthy-pod a=sjbarag

The unit tests for pkg/ui/workspaces/cluster-ui previously used the
default test size in Bazel ("medium"), which times out after five
minutes and assumes peak memory usage of 100MB. Those tests are
significantly slower than that and use well over 1GB of RAM though,
which led to Bazel killing the `jest` process before testing could
complete. Mark the cluster-ui tests as "enormous" (the largest
supported size) to increase the test duration to 60 minutes and peak
memory usage to 800MB.

Release justification: non-production code changes
Release note: None

Co-authored-by: Sean Barag <barag@cockroachlabs.com>
  • Loading branch information
craig[bot] and sjbarag committed Aug 23, 2022
2 parents 8888295 + eda8631 commit 003c036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ui/workspaces/cluster-ui/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ JEST_DEPS = DEPENDENCIES + [

jest_test(
name = "jest",
size = "enormous",
data = JEST_DEPS,
templated_args = [
"--runInBand",
Expand Down

0 comments on commit 003c036

Please sign in to comment.