Skip to content

Commit 4ff40e9

Browse files
committed
Wait 5 seconds before stopping broker
To enable plugins. Runs sometime fail because the application is not started yet.
1 parent 4bae441 commit 4ff40e9

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/test-3.11-alpha.yml

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
cache: 'maven'
3535
- name: Enable Stream, MQTT and STOMP plugins
3636
run: docker exec ${{job.services.rabbitmq.id}} rabbitmq-plugins enable rabbitmq_stream rabbitmq_mqtt rabbitmq_stomp --offline
37+
- name: Wait before stopping broker
38+
run: sleep 5
3739
- name: Stop RabbitMQ application
3840
run: docker exec ${{job.services.rabbitmq.id}} rabbitmqctl stop_app
3941
- name: Start RabbitMQ application

.github/workflows/test-3.11-stable.yml

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
cache: 'maven'
3535
- name: Enable Stream, MQTT and STOMP plugins
3636
run: docker exec ${{job.services.rabbitmq.id}} rabbitmq-plugins enable rabbitmq_stream rabbitmq_mqtt rabbitmq_stomp --offline
37+
- name: Wait before stopping broker
38+
run: sleep 5
3739
- name: Stop RabbitMQ application
3840
run: docker exec ${{job.services.rabbitmq.id}} rabbitmqctl stop_app
3941
- name: Start RabbitMQ application

.github/workflows/test-3.12-alpha.yml

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
cache: 'maven'
3434
- name: Enable MQTT and STOMP plugins
3535
run: docker exec ${{job.services.rabbitmq.id}} rabbitmq-plugins enable rabbitmq_mqtt rabbitmq_stomp --offline
36+
- name: Wait before stopping broker
37+
run: sleep 5
3638
- name: Stop RabbitMQ application
3739
run: docker exec ${{job.services.rabbitmq.id}} rabbitmqctl stop_app
3840
- name: Start RabbitMQ application

0 commit comments

Comments
 (0)