From 2bb0b794ac2779ab8bb9aadfb2dbf75e80926180 Mon Sep 17 00:00:00 2001 From: Petr Hracek Date: Thu, 13 Jun 2024 08:25:27 +0200 Subject: [PATCH] Do not check fastify in case of nodej-18 (#435) and RHEL8 and RHEL9. Signed-off-by: Petr "Stone" Hracek --- test/test-lib-nodejs.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/test-lib-nodejs.sh b/test/test-lib-nodejs.sh index d82815ed..fc08e16e 100644 --- a/test/test-lib-nodejs.sh +++ b/test/test-lib-nodejs.sh @@ -420,6 +420,15 @@ function test_client_cloudevents() { test_running_client_js cloudevents } function test_client_fastify() { + if [[ "${VERSION}" == *"minimal"* ]]; then + VERSION=$(echo "${VERSION}" | cut -d "-" -f 1) + fi + if [[ "$VERSION" == "18" ]]; then + if [ "$OS" == "rhel8" ] || [ "$OS" == "rhel9" ]; then + echo "Fastify is not supported in $VERSION and rhel8 and rhel9" + return + fi + fi echo "Running fastify client test" test_running_client_js fastify }