Skip to content

Commit 813a831

Browse files
authored
Add mention of the environment variable to disable logs in integration tests (#17524)
1 parent c2f0686 commit 813a831

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/Contributing/Testing-and-local-development.md

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Make sure it is available in your `PATH`. To execute the basic unit and integrat
7878
REDIS_TEST=1 MYSQL_TEST=1 make test
7979
```
8080

81+
The integration tests in the `server/service` package can generate a lot of logs mixed with the test results output. To make it easier to identify a failing test in this package, you can set the `FLEET_INTEGRATION_TESTS_DISABLE_LOG=1` environment variable so that logging is disabled.
82+
8183
Note that on a Linux system, the Redis tests will include running in cluster mode, so the docker Redis Cluster setup must be running. This implies starting the docker dependencies as follows:
8284

8385
```sh

0 commit comments

Comments
 (0)