Skip to content

Commit

Permalink
remove test that fails in CI and is largely obsoleted by redirect_moc…
Browse files Browse the repository at this point in the history
…k_time check
  • Loading branch information
aaron-em committed Mar 5, 2015
1 parent e766919 commit 8ce85f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test-timing.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ var http = require('http')

var plain_server = server.createServer()
, redirect_mock_time = 10
, non_redirect_time

tape('setup', function(t) {
plain_server.listen(plain_server.port, function() {
Expand Down Expand Up @@ -41,7 +40,6 @@ tape('non-redirected request is timed', function(t) {
t.equal(err, null)
t.equal(typeof res.elapsedTime, 'number')
t.equal((res.elapsedTime > 0), true)
non_redirect_time = res.elapsedTime
t.end()
})
})
Expand All @@ -52,7 +50,6 @@ tape('redirected request is timed with rollup', function(t) {
t.equal(err, null)
t.equal(typeof res.elapsedTime, 'number')
t.equal((res.elapsedTime > 0), true)
t.equal((res.elapsedTime > non_redirect_time), true)
t.equal((res.elapsedTime > redirect_mock_time), true)
t.end()
})
Expand Down

0 comments on commit 8ce85f2

Please sign in to comment.