Skip to content

Commit

Permalink
Try downgrading rabbitmq
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps committed Jul 11, 2024
1 parent 05663d5 commit 69201cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
MYSQL_PASSWORD: banana

faf-rabbitmq:
image: rabbitmq:3.9-alpine
image: rabbitmq:3.8-management-alpine
ports:
- 5672:5672
options: >-
Expand Down
2 changes: 1 addition & 1 deletion scripts/local_rabbitmq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RABBITMQ_LEAGUE_SERVICE_USER=faf-league-service
RABBITMQ_LEAGUE_SERVICE_PASS=banana
RABBITMQ_LEAGUE_SERVICE_VHOST=/faf-lobby

docker run -d -p 5672:5672 --restart unless-stopped --name faf-rabbitmq rabbitmq:3.9-alpine
docker run -d -p 5672:5672 --restart unless-stopped --name faf-rabbitmq rabbitmq:3.8-management-alpine

# This doesn't seem to pick up the pid file
docker exec faf-rabbitmq rabbitmqctl wait --timeout ${MAX_WAIT_SECONDS} "${RABBITMQ_PID_FILE}"
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests/test_message_queue_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def test_parse_incoming_message(mq_service, consumer):

await asyncio.sleep(0.1)

received_message = consumer.received_messages[-1]
received_message = consumer.received_messages[0]
parsed_message = message_to_dict(received_message)

for key, value in payload.items():
Expand Down

0 comments on commit 69201cf

Please sign in to comment.