Skip to content

Commit

Permalink
Removed 10s test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Jun 24, 2016
1 parent 085838b commit 5004625
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/run.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,3 @@ test('run should callback with an error when no url is passed in', (t) => {
t.end()
})
})

test('run should callback without an error when defaults are used', (t) => {
t.plan(4)

run({
url: 'http://localhost:' + server.address().port
}, function (err, result) {
t.error(err)

t.ok(result.duration >= 10, 'duration is at least 2s')
t.equal(result.connections, 10, 'connections is the same')
t.equal(result.pipelining, 1, 'pipelining is the default')

t.end()
})
})

0 comments on commit 5004625

Please sign in to comment.