Skip to content

Commit

Permalink
bazel/test: use RP_FIXTURE_ENV=1 for all unit tests
Browse files Browse the repository at this point in the history
We do not distinguish betwee unit and fixture tests in bazel, but
fixture tests need RP_FIXTURE_ENV=1 to make adjustments for running
multiple shards on the same thread. Add it for all tests.
  • Loading branch information
bashtanov committed Jan 31, 2025
1 parent 83a0199 commit 10b596e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _redpanda_cc_test(
"layering_check",
],
tags = resource_tags + tags,
env = env,
env = env | {"RP_FIXTURE_ENV": "1"},
target_compatible_with = target_compatible_with,
data = data,
local_defines = local_defines,
Expand Down

0 comments on commit 10b596e

Please sign in to comment.