Skip to content

Commit c2af15d

Browse files
committed
Disabling Proxy after every test in OfflineBufferingTest
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
1 parent 95f54f4 commit c2af15d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • org.eclipse.paho.client.mqttv3.test/src/test/java/org/eclipse/paho/client/mqttv3/test/automaticReconnect

org.eclipse.paho.client.mqttv3.test/src/test/java/org/eclipse/paho/client/mqttv3/test/automaticReconnect/OfflineBufferingTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import org.eclipse.paho.client.mqttv3.test.utilities.TestMemoryPersistence;
3939
import org.eclipse.paho.client.mqttv3.test.utilities.Utility;
4040
import org.eclipse.paho.client.mqttv3.util.Debug;
41+
import org.junit.After;
4142
import org.junit.Assert;
4243
import org.junit.BeforeClass;
4344
import org.junit.Test;
@@ -77,6 +78,11 @@ public static void setUpBeforeClass() throws Exception {
7778
}
7879

7980
}
81+
82+
@After
83+
public void clearUpAfterTest() {
84+
proxy.disableProxy();
85+
}
8086

8187
/**
8288
* Tests that A message can be buffered whilst the client is in a

0 commit comments

Comments
 (0)