From 7a7008a6c71aa7d16ef614253dc496d2af416188 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Fri, 11 Feb 2005 20:15:10 +0000 Subject: [PATCH] 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 --- test/org/jivesoftware/smack/PresencePriorityTest.java | 1 + test/org/jivesoftware/smackx/RosterExchangeManagerTest.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/org/jivesoftware/smack/PresencePriorityTest.java b/test/org/jivesoftware/smack/PresencePriorityTest.java index 1c528ea19..3a0428a00 100644 --- a/test/org/jivesoftware/smack/PresencePriorityTest.java +++ b/test/org/jivesoftware/smack/PresencePriorityTest.java @@ -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)); diff --git a/test/org/jivesoftware/smackx/RosterExchangeManagerTest.java b/test/org/jivesoftware/smackx/RosterExchangeManagerTest.java index 79c88566c..024b97387 100644 --- a/test/org/jivesoftware/smackx/RosterExchangeManagerTest.java +++ b/test/org/jivesoftware/smackx/RosterExchangeManagerTest.java @@ -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");