From 9cf3d531322b855c5530d3768363d5cfa7e9cec1 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Wed, 29 Dec 2004 02:19:30 +0000 Subject: [PATCH] Minor fix. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2440 b35dd754-fafc-0310-a699-88a17e54d16e --- test/org/jivesoftware/smackx/muc/MultiUserChatTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/org/jivesoftware/smackx/muc/MultiUserChatTest.java b/test/org/jivesoftware/smackx/muc/MultiUserChatTest.java index b76609cb6..d154fab70 100644 --- a/test/org/jivesoftware/smackx/muc/MultiUserChatTest.java +++ b/test/org/jivesoftware/smackx/muc/MultiUserChatTest.java @@ -1560,11 +1560,16 @@ public class MultiUserChatTest extends SmackTestCase { MultiUserChat muc3 = new MultiUserChat(getConnection(2), room); muc3.join("testbot3"); + Thread.sleep(150); + // User3 leaves the room muc3.leave(); + + Thread.sleep(150); // User2 leaves the room muc2.leave(); + Thread.sleep(150); // Check that ParticipantStatusListener is working OK assertEquals( "User1 didn't receive the event of User2 joining the room",