This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git

commit e976cb2746cf5a95b3b0e2449a681d231ec03219
Author: Antoine Toulme <[email protected]>
AuthorDate: Wed Apr 29 22:59:34 2020 -0700

    Move more tests to integration-tests
---
 .../org/apache/tuweni/net/coroutines/CoroutineSocketChannelTest.kt  | 0
 .../test/java/org/apache/tuweni/net/coroutines/SelectorTest.java    | 6 ++++++
 2 files changed, 6 insertions(+)

diff --git 
a/net-coroutines/src/test/kotlin/org/apache/tuweni/net/coroutines/CoroutineSocketChannelTest.kt
 
b/net-coroutines/src/integration-test/kotlin/org/apache/tuweni/net/coroutines/CoroutineSocketChannelTest.kt
similarity index 100%
rename from 
net-coroutines/src/test/kotlin/org/apache/tuweni/net/coroutines/CoroutineSocketChannelTest.kt
rename to 
net-coroutines/src/integration-test/kotlin/org/apache/tuweni/net/coroutines/CoroutineSocketChannelTest.kt
diff --git 
a/net-coroutines/src/test/java/org/apache/tuweni/net/coroutines/SelectorTest.java
 
b/net-coroutines/src/test/java/org/apache/tuweni/net/coroutines/SelectorTest.java
index 7df159c..9c30146 100644
--- 
a/net-coroutines/src/test/java/org/apache/tuweni/net/coroutines/SelectorTest.java
+++ 
b/net-coroutines/src/test/java/org/apache/tuweni/net/coroutines/SelectorTest.java
@@ -29,6 +29,7 @@ import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 import java.util.concurrent.Future;
 
+import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
 
@@ -41,6 +42,11 @@ class SelectorTest {
     executor = Executors.newCachedThreadPool();
   }
 
+  @AfterAll
+  static void tearDown() {
+    executor.shutdown();
+  }
+
   @Test
   void selectorRemovesKeysOnChannelCloseWhenSelecting() throws Exception {
     Pipe pipe = Pipe.open();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to