-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: fix TAV test breakage with node 17 (hapi <=16, fastify <0.36.0) (
#2387) This was broken in #2380. Versions of hapi <=16 did not support the 'host' option to `new Server`, but instead to `server.connection`. Also really old versions of fastify (v0.35.7) cannot even be npm installed with the npm included in node v17. This drops support for fastify <1.0.0 and updates the TAV test matrix to only test a given fastify version with its supported versions of node per https://www.fastify.io/docs/latest/LTS/
- Loading branch information
Showing
6 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -407,8 +407,28 @@ restify-new: | |
- node test/instrumentation/modules/restify/basic.test.js | ||
- node test/instrumentation/modules/restify/set-framework.test.js | ||
|
||
# https://www.fastify.io/docs/latest/LTS/ | ||
# - #1086 suggests [email protected] was a broken release, skip it. | ||
fastify-v1: | ||
name: fastify | ||
versions: '1.x' | ||
node: '>=6 <12' | ||
commands: | ||
- node test/instrumentation/modules/fastify/fastify.test.js | ||
- node test/instrumentation/modules/fastify/async-await.test.js | ||
- node test/instrumentation/modules/fastify/set-framework.test.js | ||
fastify-v2: | ||
name: fastify | ||
versions: '>=2.0.0 <2.4.0 || >2.4.0 <3' | ||
node: '>=6 <15' | ||
commands: | ||
- node test/instrumentation/modules/fastify/fastify.test.js | ||
- node test/instrumentation/modules/fastify/async-await.test.js | ||
- node test/instrumentation/modules/fastify/set-framework.test.js | ||
fastify: | ||
versions: '>=0.27.0 <0.29.0 || >0.29.0 <2.4.0 || >2.4.0' | ||
name: fastify | ||
versions: '>=3.0.0' | ||
node: '>=10' | ||
commands: | ||
- node test/instrumentation/modules/fastify/fastify.test.js | ||
- node test/instrumentation/modules/fastify/async-await.test.js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters