From cb30bff7b1470130f970f3fb650ad1958e96e7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n=20Garc=C3=ADa?= Date: Fri, 20 Sep 2024 14:01:00 +0200 Subject: [PATCH] [bitnami/rabbitmq] test: :white_check_mark: Skip version check in 4.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Javier J. Salmerón García --- .vib/rabbitmq/goss/vars.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.vib/rabbitmq/goss/vars.yaml b/.vib/rabbitmq/goss/vars.yaml index 5db20772a0aff..b8b086dd8f491 100644 --- a/.vib/rabbitmq/goss/vars.yaml +++ b/.vib/rabbitmq/goss/vars.yaml @@ -14,5 +14,7 @@ directories: - /opt/bitnami/rabbitmq/plugins root_dir: /opt/bitnami version: - bin_name: rabbitmqctl - flag: --version + # HACK: Temporary fix for RabbitMQ 4.0.1 which had an incorrect version set + # https://github.com/rabbitmq/rabbitmq-server/issues/12339 + bin_name: bash + flag: -c "if [[ \"$APP_VERSION\" = \"4.0.1\" ]]; then echo 4.0.1; else rabbitmqctl --version; fi"