Skip to content

Commit 6ce8c27

Browse files
committed
more detail on how to run tests locally
Signed-off-by: Emelia Lei <[email protected]>
1 parent 72b9886 commit 6ce8c27

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/BUILD.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,23 @@ When in an interactive command line prompt, you can use the following `make`
3737
targets to build and test the BlazingMQ Python SDK. Check the
3838
appropriate GitHub Actions configuration to set up the appropriate environment
3939
variables that may be needed prior to running these commands (such as setting
40-
`PYEXEC`). With a BlazingMQ broker running at `tcp://localhost:30114`, the
41-
following targets build and test the Python SDK:
40+
`PYEXEC`). The following targets build Python SDK:
4241

4342
```shell
4443
make test-install
44+
```
45+
46+
To run the tests, we need to start a broker running at `tcp://localhost:30114`:
47+
48+
```shell
49+
mkdir -p bmq/logs
50+
mkdir -p bmq/storage/archive
51+
./build/blazingmq/src/applications/bmqbrkr/bmqbrkr.tsk ./tests/broker-config
52+
```
53+
54+
And then run the tests as below:
55+
56+
```shell
4557
BMQ_BROKER_URI=tcp://localhost:30114 make check
4658
```
4759

0 commit comments

Comments
 (0)