[sinttest] Improve MultiUserChatIntegrationTest.tryDestroy(MultiUserChat)

This commit is contained in:
Florian Schmaus 2021-04-18 21:35:34 +02:00
parent 3d4e7938a7
commit 8a91021a0e
1 changed files with 3 additions and 2 deletions

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);
}
}