mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Increased delay between packets to give more time to the server for processing the packets.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2458 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
9d3f3395ea
commit
7a7008a6c7
2 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@ public class PresencePriorityTest extends SmackTestCase {
|
|||
Presence.Mode.AVAILABLE));
|
||||
conn.sendPacket(new Presence(Presence.Type.AVAILABLE, null, 2,
|
||||
Presence.Mode.AVAILABLE));
|
||||
Thread.sleep(150);
|
||||
// Create the chats between the participants
|
||||
Chat chat0 = new Chat(getConnection(0), getBareJID(1));
|
||||
Chat chat1 = new Chat(getConnection(1), getBareJID(0));
|
||||
|
|
|
@ -204,7 +204,7 @@ public class RosterExchangeManagerTest extends SmackTestCase {
|
|||
entriesReceived = 0;
|
||||
rosterExchangeManager1.send(getConnection(0).getRoster(), getBareJID(1));
|
||||
// Wait for 1 seconds
|
||||
Thread.sleep(600);
|
||||
Thread.sleep(700);
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail("An error occured sending the message with the roster");
|
||||
|
|
Loading…
Reference in a new issue