From cffe77b2c24a8f5de6eac4e67d71fa1c7cf527b1 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Tue, 4 Oct 2016 16:43:31 -0400 Subject: [PATCH] tweak timeout in some api/router tests --- api/tests/test-router.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/tests/test-router.js b/api/tests/test-router.js index a8cd1ac2..39d5d61f 100644 --- a/api/tests/test-router.js +++ b/api/tests/test-router.js @@ -554,9 +554,9 @@ o.spec("route", function() { done() }, FRAME_BUDGET) }) - - o("routing with RouteResolver works more than once (#1286)", function(done, timeout){ - timeout(FRAME_BUDGET * 3) + + o("routing with RouteResolver works more than once", function(done, timeout) { + timeout(100) $window.location.href = prefix + "/a" route(root, '/a', { @@ -584,9 +584,9 @@ o.spec("route", function() { }, FRAME_BUDGET) }, FRAME_BUDGET) }) - + o("calling route.set invalidates pending onmatch resolution", function(done, timeout) { - timeout(50) + timeout(100) var resolved $window.location.href = prefix + "/a"