wire-server icon indicating copy to clipboard operation
wire-server copied to clipboard

[DO NOT MERGE] test for reconnection to RabbitMQ

Open battermann opened this issue 4 months ago • 1 comments

Checklist

  • [ ] Add a new entry in an appropriate subdirectory of changelog.d
  • [ ] Read and follow the PR guidelines

battermann avatar Aug 28 '25 11:08 battermann

  1. run the docker-compose services, either on latest commit; or on a previous commit using toxiproxy
  2. start the test: TEST_INCLUDE=testRabbitMQConnection make ci-safe package=integration
  3. when the prompt appears, break the connection in some way. Use either ./toxiproxy-rabbitmq-terminate.sh or a way with haproxy (you need to first fix the configuration, somehow the haproxy setup isn't quite working yet on that latest commit
  4. re-establish a connection (press enter in the toxiproxy script)
  5. 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.

jschaul avatar Aug 28 '25 15:08 jschaul