1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-30 14:37:59 +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 {
muc.destroy("test fixture teardown", null);
} catch (Exception ex) {
LOGGER.log(Level.FINEST, "Failed to tear down a randomly generated MUC (" + muc.getRoom().toString() + ") used as a test fixture. Continuing anyway.", ex);
} catch (NoResponseException | XMPPErrorException | NotConnectedException | InterruptedException ex) {
LOGGER.log(Level.FINEST, "Failed to tear down a randomly generated MUC (" + muc.getRoom()
+ ") used as a test fixture. Continuing anyway.", ex);
}
}