wire-server
wire-server copied to clipboard
[DO NOT MERGE] test for reconnection to RabbitMQ
Checklist
- [ ] Add a new entry in an appropriate subdirectory of
changelog.d - [ ] Read and follow the PR guidelines
- run the docker-compose services, either on latest commit; or on a previous commit using toxiproxy
- start the test:
TEST_INCLUDE=testRabbitMQConnection make ci-safe package=integration - when the prompt appears, break the connection in some way. Use either
./toxiproxy-rabbitmq-terminate.shor a way with haproxy (you need to first fix the configuration, somehow the haproxy setup isn't quite working yet on that latest commit - re-establish a connection (press enter in the toxiproxy script)
- press enter in the integration test so it attempts to send another message. If the test is green then, well, you could not reproduce an issue.