From 1fae5cfed4b80c02d1419fdb8e759c863dddcd9c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 16 May 2013 15:19:59 -0400 Subject: [PATCH] casper: Increase timeout for receiving messages. Empirically we were having test failures due to not waiting long enough here. (imported from commit f9269f00c0ba2f740dca786773b5bedf9fba0cde) --- zephyr/tests/frontend/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/tests/frontend/common.js b/zephyr/tests/frontend/common.js index cc16c03cbd..29308a2fcb 100644 --- a/zephyr/tests/frontend/common.js +++ b/zephyr/tests/frontend/common.js @@ -158,9 +158,9 @@ exports.send_many = function (msgs) { // Wait to receive queued messages. exports.wait_for_receive = function (step) { - // Wait until the last send or get_events result was more than 300 ms ago. + // Wait until the last send or get_events result was more than 500 ms ago. casper.waitFor(function () { - return (timestamp() - last_send_or_update) > 300; + return (timestamp() - last_send_or_update) > 500; }, step); };