Make it clear that this test does not expect an authentication failure

This commit is contained in:
Michael Klishin 2014-11-24 21:21:20 +03:00
parent 089ef7e86f
commit 0e298907aa
1 changed files with 0 additions and 2 deletions

View File

@ -117,8 +117,6 @@ public class MqttSSLTest extends TestCase implements MqttCallback {
try {
conOpt.setSocketFactory(MutualAuth.getSSLContext().getSocketFactory());
client.connect(conOpt);
} catch (MqttException ex) {
Assert.assertEquals(MqttException.REASON_CODE_NOT_AUTHORIZED, ex.getReasonCode());
} catch (Exception e) {
e.printStackTrace();
fail("Exception: " + e.getMessage());