Ensure MQTT tests clean up SSL properties

This commit is contained in:
jbertram 2015-07-30 09:26:16 -05:00 committed by Clebert Suconic
parent fc14e31aa7
commit fe95e34390
1 changed files with 6 additions and 0 deletions

View File

@ -111,6 +111,12 @@ public class MQTTTestSupport extends ActiveMQTestBase
@After @After
public void tearDown() throws Exception public void tearDown() throws Exception
{ {
System.clearProperty("javax.net.ssl.trustStore");
System.clearProperty("javax.net.ssl.trustStorePassword");
System.clearProperty("javax.net.ssl.trustStoreType");
System.clearProperty("javax.net.ssl.keyStore");
System.clearProperty("javax.net.ssl.keyStorePassword");
System.clearProperty("javax.net.ssl.keyStoreType");
stopBroker(); stopBroker();
} }