-
-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
- RabbitMQ health check tests fail when using RabbitMQ 4.1.0 or higher
- Error message: "negotiated frame_max = 4096 is lower than the minimum allowed value (8192)"
- All CI/CD pipelines fail on RMQ-related tests, blocking PRs
Minimum reproduction code
git clone https://github.com/nestjs/terminus.git
docker compose up -d
(Use the current docker-compose.yml which specifies rabbitmq:4-management-alpine)pnpm i && pnpm build
pnpm test:e2e
Steps to reproduce
- Start RabbitMQ 4.1+ container (as configured in docker-compose.yml)
- Run e2e tests:
npx jest --config=e2e/jest-e2e.json e2e/health-checks/microservice.health.e2e-spec.ts
- RMQ health check test fails with frameMax negotiation error
- Check docker logs:
docker logs rabbitmq | grep frame_max
Expected behavior
- RabbitMQ health check should successfully connect to RabbitMQ 4.1+ instances
- Tests should pass without manual frameMax configuration
- The library should handle RabbitMQ version compatibility automatically
Package version
11.0.0
NestJS version
11.*
Node.js version
18.x, 20.x, 22.x
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
- Docker image: rabbitmq:4-management-alpine (currently 4.1.3)
- This affects all projects using @nestjs/terminus with RabbitMQ 4.1+
- Related amqplib issue: Negotiated frame_max = 4096 is lower than the minimum allowed value (8192) amqp-node/amqplib#791
injae-kim