mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 22:12:05 +01:00
Minor fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2440 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
c4d9b43fa6
commit
9cf3d53132
1 changed files with 5 additions and 0 deletions
|
@ -1560,11 +1560,16 @@ public class MultiUserChatTest extends SmackTestCase {
|
||||||
MultiUserChat muc3 = new MultiUserChat(getConnection(2), room);
|
MultiUserChat muc3 = new MultiUserChat(getConnection(2), room);
|
||||||
muc3.join("testbot3");
|
muc3.join("testbot3");
|
||||||
|
|
||||||
|
Thread.sleep(150);
|
||||||
|
|
||||||
// User3 leaves the room
|
// User3 leaves the room
|
||||||
muc3.leave();
|
muc3.leave();
|
||||||
|
|
||||||
|
Thread.sleep(150);
|
||||||
// User2 leaves the room
|
// User2 leaves the room
|
||||||
muc2.leave();
|
muc2.leave();
|
||||||
|
|
||||||
|
Thread.sleep(150);
|
||||||
// Check that ParticipantStatusListener is working OK
|
// Check that ParticipantStatusListener is working OK
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"User1 didn't receive the event of User2 joining the room",
|
"User1 didn't receive the event of User2 joining the room",
|
||||||
|
|
Loading…
Reference in a new issue