diff options
author | Philip Kuryloski <kuryloskip@vmware.com> | 2021-11-02 16:04:06 +0100 |
---|---|---|
committer | Philip Kuryloski <kuryloskip@vmware.com> | 2021-11-02 16:24:26 +0100 |
commit | 8c0eece3cdd1fcd6a3e0d85c48101c7de519df43 (patch) | |
tree | e1b339f0518d624fa3fd0faaa6057c313a0a5eff /BAZEL.md | |
parent | 10372427dc14babd2cf0d8345b4018fc09dfd6d6 (diff) | |
download | rabbitmq-server-git-8c0eece3cdd1fcd6a3e0d85c48101c7de519df43.tar.gz |
Adjustments for the latest bazel-erlang
Diffstat (limited to 'BAZEL.md')
-rw-r--r-- | BAZEL.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ Create a `user.bazelrc` by making a copy of `user-template.bazelrc` and updating ### Running tests -Many rabbit tests spawn single or clustered rabbit nodes, and therefore it's best to run test suites sequentially on a single machine. Hence the `build --local_test_jobs=1` flag used in `.bazelrc`. Additionally, it may be reasonable to disable test sharding and stream test output when running tests locally with `--test_sharding_strategy=disabled` & `--test_output=streamed` additional arguments. Naturally that restriction does not hold if utilizing remote execution (as is the case for RabbitMQ's CI pipelines). +Many rabbit tests spawn single or clustered rabbit nodes, and therefore it's best to run test suites sequentially on a single machine. Hence the `build --local_test_jobs=1` flag used in `.bazelrc`. Additionally, it may be reasonable to disable test sharding and stream test output when running tests locally with `--test_output=streamed` as an additional argument (to just disable sharding, but not stream output, use `--test_sharding_strategy=disabled`). Naturally that restriction does not hold if utilizing remote execution (as is the case for RabbitMQ's CI pipelines). Erlang Common Test logs will not be placed in the logs directory when run with bazel. They can be found under `bazel-testlogs`. For instance, those of the rabbit application's backing_queue suite will be under `bazel-testlogs/deps/rabbit/backing_queue_SUITE/test.outputs/`. |