1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

[sinttest] Improve MultiUserChatIntegrationTest.tryDestroy(MultiUserChat)

This commit is contained in:
Florian Schmaus 2021-04-18 21:35:34 +02:00
parent 3d4e7938a7
commit 8a91021a0e

View file

@ -703,8 +703,9 @@ public class MultiUserChatIntegrationTest extends AbstractSmackIntegrationTest {
} }
try { try {
muc.destroy("test fixture teardown", null); muc.destroy("test fixture teardown", null);
} catch (Exception ex) { } catch (NoResponseException | XMPPErrorException | NotConnectedException | InterruptedException ex) {
LOGGER.log(Level.FINEST, "Failed to tear down a randomly generated MUC (" + muc.getRoom().toString() + ") used as a test fixture. Continuing anyway.", ex); LOGGER.log(Level.FINEST, "Failed to tear down a randomly generated MUC (" + muc.getRoom()
+ ") used as a test fixture. Continuing anyway.", ex);
} }
} }