diff --git a/test/instrumentation/modules/hapi.js b/test/instrumentation/modules/hapi.js
index <HASH>..<HASH> 100644
--- a/test/instrumentation/modules/hapi.js
+++ b/test/instrumentation/modules/hapi.js
@@ -7,6 +7,11 @@ var agent = require('../../..').start({
   captureExceptions: false
 })
 
+var semver = require('semver')
+
+// hapi doesn't work in versions of Node.js prior to v4
+if (!semver.satisfies(process.version, '>=4')) process.exit()
+
 var test = require('tape')
 var http = require('http')
 var Hapi = require('hapi')
test: only run hapi tests on Node.js v4 or newer