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:
Gaston Dombiak 2005-02-11 20:15:10 +00:00 committed by gaston
parent 9d3f3395ea
commit 7a7008a6c7
2 changed files with 2 additions and 1 deletions

View File

@ -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));

View File

@ -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");