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 }