Document RABBITMQ_METADATA_STORE in CONTRIBUTING.md

This commit is contained in:
Michael Klishin 2024-12-19 17:40:30 -05:00
parent f020eb2a0c
commit 3ecbe7b7a2
No known key found for this signature in database
GPG Key ID: FF4F6501646A9C9A
1 changed files with 15 additions and 0 deletions

View File

@ -64,6 +64,21 @@ gmake ct-rabbit_mgmt_http t="all_tests_with_prefix:users_test"
gmake ct-rabbit_mgmt_http t="all_tests_with_prefix:queues_test"
```
### Running Tests with a Specific Schema Data Store
Set `RABBITMQ_METADATA_STORE` to either `khepri` or `mnesia` to make the Common Test suites
use a specific [schema data store]() (metadata store):
``` shell
RABBITMQ_METADATA_STORE=khepri gmake ct-quorum_queue
```
Or, with Nu shell:
```nu
with-env {'RABBITMQ_METADATA_STORE': 'khepri'} { gmake ct-quorum_queue }
```
## Running Single Nodes from Source