Skip to content

Commit 2bb0b79

Browse files
authored
Do not check fastify in case of nodej-18 (#435)
and RHEL8 and RHEL9. Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 454d8f1 commit 2bb0b79

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/test-lib-nodejs.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,15 @@ function test_client_cloudevents() {
420420
test_running_client_js cloudevents
421421
}
422422
function test_client_fastify() {
423+
if [[ "${VERSION}" == *"minimal"* ]]; then
424+
VERSION=$(echo "${VERSION}" | cut -d "-" -f 1)
425+
fi
426+
if [[ "$VERSION" == "18" ]]; then
427+
if [ "$OS" == "rhel8" ] || [ "$OS" == "rhel9" ]; then
428+
echo "Fastify is not supported in $VERSION and rhel8 and rhel9"
429+
return
430+
fi
431+
fi
423432
echo "Running fastify client test"
424433
test_running_client_js fastify
425434
}

0 commit comments

Comments
 (0)