Increasing hardcoded timeout in wait_for_receive

(imported from commit 0662a12891ad4b3dfc11e368901e2dd47bff3daa)
This commit is contained in:
Jacob Hurwitz 2013-01-02 16:30:10 -05:00
parent a40b5da432
commit af70df0e70
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ function wait_and_send(type, params) {
function wait_for_receive(step) { function wait_for_receive(step) {
// Wait until the last send or get_updates result was more than 100 ms ago. // Wait until the last send or get_updates result was more than 100 ms ago.
casper.waitFor(function () { casper.waitFor(function () {
return (timestamp() - last_send_or_update) > 100; return (timestamp() - last_send_or_update) > 300;
}, step); }, step);
} }