Skip to content

Commit fe8bdbd

Browse files
authored
docs: add test_arg="--" to the build docs (envoyproxy#39997)
Commit Message: docs: add test_arg="--" to the build docs Additional Description: Minor docs update: add test_arg="--" to the build docs This is true since the latest upgrade of googletest (envoyproxy#39305) Risk Level: low Testing: N/A Docs Changes: N/A Release Notes: N/A Platform Specific Features: N/A Signed-off-by: Adi Suissa-Peleg <[email protected]>
1 parent 73fe00f commit fe8bdbd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bazel/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,12 @@ To observe more verbose test output:
416416
bazel test --test_output=streamed //test/common/http:async_client_impl_test
417417
```
418418

419-
It's also possible to pass into an Envoy test additional command-line args via `--test_arg`. For
419+
It's also possible to pass into an Envoy test additional command-line args via `--test_arg`. Note
420+
that `--test_arg="--"` should be added to pass Envoy command-line arguments. For
420421
example, for extremely verbose test debugging:
421422

422423
```
423-
bazel test --test_output=streamed //test/common/http:async_client_impl_test --test_arg="-l trace"
424+
bazel test --test_output=streamed //test/common/http:async_client_impl_test --test_arg="--" --test_arg="-l trace"
424425
```
425426

426427
By default, testing exercises both IPv4 and IPv6 address connections. In IPv4 or IPv6 only
@@ -662,7 +663,7 @@ logging at `-l trace`. For example, in tests:
662663

663664
```
664665
bazel test //test/integration:protocol_integration_test --test_output=streamed \
665-
--test_arg="-l trace" --test_env="ENVOY_NGHTTP2_TRACE="
666+
--test_arg="--" --test_arg="-l trace" --test_env="ENVOY_NGHTTP2_TRACE="
666667
```
667668

668669
Similarly, `QUICHE` verbose logs can be enabled by setting `ENVOY_QUICHE_VERBOSITY=n` in the

0 commit comments

Comments
 (0)