Skip to content

Commit

Permalink
test: workaround spurious test failures in http2 tests with node v8 (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm authored and peter-ein committed Aug 20, 2024
1 parent b565ba4 commit 0dde308
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/instrumentation/modules/http2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ var mockClient = require('../../_mock_http_client')
var findObjInArray = require('../../_utils').findObjInArray
const constants = require('../../../lib/constants')

if (semver.satisfies(process.version, '8.x')) {
console.log('# SKIP http2 testing on node v8.x is crashy in CI')
process.exit()
}

var isSecure = [false, true]
isSecure.forEach(secure => {
var method = secure ? 'createSecureServer' : 'createServer'
Expand Down

0 comments on commit 0dde308

Please sign in to comment.