Skip to content

Commit

Permalink
integration/remote_execution_test: increase compute unit
Browse files Browse the repository at this point in the history
We have a few tests that follow this pattern:
```
for i := 0; i < 10; i++ {
    ...
    cmds = append(cmds, cmd)
}
...
for _, cmd := range cmds {
    cmd := cmd
    eg.Go(func() error {
        ...
    }
}
eg.Wait()
```

so let's make sure that we have at least 5 CPU to run these commands in
parallel.

Disabled verbose logging as we start to get warnings like this from Bazel
```
stdout (/.../bazel-out/_tmp/actions/stdout-8) 9609824 exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping
```
  • Loading branch information
sluongng committed Jan 17, 2025
1 parent 4df1ecb commit 17d3ccf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion enterprise/server/test/integration/remote_execution/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ go_test(
# make these tests run faster
timeout = "long",
srcs = ["remote_execution_test.go"],
args = ["--test.v"],
exec_properties = {
"EstimatedComputeUnits": "5",
},
shard_count = 11,
deps = [
"//enterprise/server/build_event_publisher",
Expand Down

0 comments on commit 17d3ccf

Please sign in to comment.