Skip to content

Commit

Permalink
Do not check fastify in case of nodej-18 (#435)
Browse files Browse the repository at this point in the history
and RHEL8 and RHEL9.

Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek authored Jun 13, 2024
1 parent 454d8f1 commit 2bb0b79
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/test-lib-nodejs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2bb0b79

Please sign in to comment.