[skip ci] Document running mixed-version tests locally
Trigger a 4.2.x alpha release build / trigger_alpha_build (push) Has been cancelled Details
Test Authentication/Authorization backends via mutiple messaging protocols / selenium (chrome, 1.17.3, 27.3) (push) Has been cancelled Details
Test (make) / Build and Xref (1.18, 26) (push) Has been cancelled Details
Test (make) / Build and Xref (1.18, 27) (push) Has been cancelled Details
Test (make) / Build and Xref (1.18, 28) (push) Has been cancelled Details
Test (make) / Test (1.18, 28, khepri) (push) Has been cancelled Details
Test (make) / Test (1.18, 28, mnesia) (push) Has been cancelled Details
Test (make) / Test mixed clusters (1.18, 28, khepri) (push) Has been cancelled Details
Test (make) / Test mixed clusters (1.18, 28, mnesia) (push) Has been cancelled Details
Test (make) / Type check (1.18, 28) (push) Has been cancelled Details
Test Authentication/Authorization backends via mutiple messaging protocols / summary-selenium (push) Has been cancelled Details

This commit is contained in:
Michal Kuratczyk 2025-07-02 14:50:01 +02:00
parent 43f1b7289a
commit ee652cbe6a
No known key found for this signature in database
1 changed files with 21 additions and 0 deletions

View File

@ -79,6 +79,27 @@ Or, with Nu shell:
with-env {'RABBITMQ_METADATA_STORE': 'khepri'} { gmake ct-quorum_queue } with-env {'RABBITMQ_METADATA_STORE': 'khepri'} { gmake ct-quorum_queue }
``` ```
### Running Mixed Version Tests
For some components, it's important to run tests in a mixed-version cluster, to make sure the upgrades
are handled correctly. For example, you may want to make sure that the quorum_queue suite passes, when
there's a mix of RabbitMQ 4.1 and 4.2 nodes in the cluster.
Here's how you can do that:
```shell
# download the older version, eg:
https://github.com/rabbitmq/rabbitmq-server/releases/download/v4.1.1/rabbitmq-server-generic-unix-4.1.1.tar.xz
# unpack it
tar xf rabbitmq-server-generic-unix-4.1.1.tar.xz
# run the test with SECONDARY_DIST pointing at the extracted folder
SECONDARY_DIST=rabbitmq_server-4.1.1 make -C deps/rabbit ct-quorum_queue
```
Odd-numbered nodes (eg. 1 and 3) will be started using the main repository, while even-numbered nodes (eg. node 2)
will run the older version.
## Running Single Nodes from Source ## Running Single Nodes from Source