bazelbuild / bazelbuild/bazel

Add customisable test sizes

Open
#9,282 2 comments 2 reactions 0 assignees View on GitHub
not stale P3 team-OSS type: feature request
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

We have some tests that we would like to give more resources (memory and time) than the largest size (enormous) that bazel provides. We are currently getting around this by using `bazel run` on the test target. However it would be better if we could provide some custom conditions for a test or even just ignore the constraints for a specific test.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Bazel assigns resource and time constraints to a test target, then compare that path with the issue's current bazel run workaround. The issue names no source files or tests, so first identify the relevant implementation and test entry points. Done means a documented, tested way to customize or bypass the largest test size constraints.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.