You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2020/04/30 06:00:10 UTC

[incubator-tuweni] branch master updated (20b56f4 -> 811963c)

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

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


    from 20b56f4  Turn badge into link
     new e976cb2  Move more tests to integration-tests
     new 811963c  use no-daemon for gradle

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/master-pr-build.yml                               | 6 +++---
 .../org/apache/tuweni/net/coroutines/CoroutineSocketChannelTest.kt  | 0
 .../test/java/org/apache/tuweni/net/coroutines/SelectorTest.java    | 6 ++++++
 3 files changed, 9 insertions(+), 3 deletions(-)
 rename net-coroutines/src/{test => integration-test}/kotlin/org/apache/tuweni/net/coroutines/CoroutineSocketChannelTest.kt (100%)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org


[incubator-tuweni] 02/02: use no-daemon for gradle

Posted by to...@apache.org.
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 811963c24b0c4dff79781c6531c9de02ed2affa0
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Wed Apr 29 22:59:50 2020 -0700

    use no-daemon for gradle
---
 .github/workflows/master-pr-build.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml
index ecb12b9..fe0762f 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -55,15 +55,15 @@ jobs:
           key: ${{ runner.os }}-m2-${{ hashFiles('**/dependency-versions.gradle') }}
           restore-keys: ${{ runner.os }}-m2
       - name: gradle checks
-        run: ./gradlew spotlessCheck checkLicenses
+        run: ./gradlew --no-daemon spotlessCheck checkLicenses
       - name: gradle assemble
-        run: ./gradlew assemble -x test
+        run: ./gradlew --no-daemon assemble -x test
       - uses: actions/upload-artifact@v1
         with:
           name: Libs
           path: build/libs
       - name: gradle test
-        run: ./gradlew test
+        run: ./gradlew --no-daemon test
       - uses: actions/upload-artifact@v1
         with:
           name: Reports


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org


[incubator-tuweni] 01/02: Move more tests to integration-tests

Posted by to...@apache.org.
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 <an...@lunar-ocean.com>
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: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org