diff options
author | louiz’ <louiz@louiz.org> | 2018-07-25 14:43:10 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-07-25 14:43:10 +0200 |
commit | 3782fc9ca46c0bd7436d1207e5a5ccd44d11df14 (patch) | |
tree | bf547ed671ac9ad8cc4d25ef36609ffeb86b52d3 | |
parent | 96b1e0ab39505f355748594a878ead31cba16dcd (diff) | |
download | biboumi-3782fc9ca46c0bd7436d1207e5a5ccd44d11df14.tar.gz biboumi-3782fc9ca46c0bd7436d1207e5a5ccd44d11df14.tar.bz2 biboumi-3782fc9ca46c0bd7436d1207e5a5ccd44d11df14.tar.xz biboumi-3782fc9ca46c0bd7436d1207e5a5ccd44d11df14.zip |
Add two more sleeps, for the same reason
-rw-r--r-- | tests/end_to_end/__main__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index d25eb2e..ee754b0 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -2151,6 +2151,8 @@ if __name__ == '__main__': partial(send_stanza, "<presence from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}' type='unavailable' />"), partial(expect_stanza, "/presence[@type='unavailable']"), + partial(sleep_for, 0.2), + # Rejoin #foo, with some history limit partial(send_stanza, "<presence from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}/{nick_one}'><x xmlns='http://jabber.org/protocol/muc'><history maxchars='0'/></x></presence>"), @@ -2161,6 +2163,8 @@ if __name__ == '__main__': partial(send_stanza, "<presence from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}' type='unavailable' />"), partial(expect_stanza, "/presence[@type='unavailable']"), + partial(sleep_for, 0.2), + # Rejoin #foo, with some history limit partial(send_stanza, "<presence from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}/{nick_one}'><x xmlns='http://jabber.org/protocol/muc'><history maxstanzas='3'/></x></presence>"), |