mirror of https://github.com/zulip/zulip.git
Increasing hardcoded timeout in wait_for_receive
(imported from commit 0662a12891ad4b3dfc11e368901e2dd47bff3daa)
This commit is contained in:
parent
a40b5da432
commit
af70df0e70
|
@ -73,7 +73,7 @@ function wait_and_send(type, params) {
|
|||
function wait_for_receive(step) {
|
||||
// Wait until the last send or get_updates result was more than 100 ms ago.
|
||||
casper.waitFor(function () {
|
||||
return (timestamp() - last_send_or_update) > 100;
|
||||
return (timestamp() - last_send_or_update) > 300;
|
||||
}, step);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue