We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bdec49 commit 6a6a1caCopy full SHA for 6a6a1ca
src/test/java/io/api/ApiRunner.java
@@ -3,6 +3,7 @@
3
import io.api.etherscan.core.impl.EtherScanApi;
4
import io.api.etherscan.manager.impl.QueueManager;
5
import io.api.etherscan.model.EthNetwork;
6
+import org.junit.AfterClass;
7
import org.junit.Assert;
8
9
public class ApiRunner extends Assert {
@@ -45,4 +46,12 @@ public static EtherScanApi getApiRinkeby() {
45
46
public static EtherScanApi getApiKovan() {
47
return apiKovan;
48
}
49
+
50
+ @AfterClass
51
+ public static void cleanup() throws Exception {
52
+ api.close();
53
+ apiRopsten.close();
54
+ apiRinkeby.close();
55
+ apiKovan.close();
56
+ }
57
0 commit comments