Skip to content
Myr

tests: mark stack overflow as long running

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #4887

authored by phoenix · committed by Douglas Christopher Wilson · parent 708ac4c · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:test/Router.js+2 added
60 unmodified lines
61 router.handle({ method: 'GET' }, {}, done)62 })6364 it('should not stack overflow with many registered routes', function(done){65 this.timeout(5000) // long-running test6667 var handler = function(req, res){ res.end(new Error('wrong handler')) };68 var router = new Router();6970 for (var i = 0; i < 6000; i++) {
509 unmodified lines