You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by wu...@apache.org on 2022/07/29 10:00:24 UTC
[shardingsphere-elasticjob] branch master updated: Use codecov-action instead codecov bash (#2104)
This is an automated email from the ASF dual-hosted git repository.
wuweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git
The following commit(s) were added to refs/heads/master by this push:
new 055c52592 Use codecov-action instead codecov bash (#2104)
055c52592 is described below
commit 055c52592cd987625758b4cf5179f03b4842cf46
Author: Mingyuan Wu <my...@outlook.com>
AuthorDate: Fri Jul 29 18:00:16 2022 +0800
Use codecov-action instead codecov bash (#2104)
---
.github/workflows/maven.yml | 8 ++++----
.../reg/zookeeper/ZookeeperRegistryCenterWatchTest.java | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index fcf9d69b2..639a5f4f5 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -49,7 +49,7 @@ jobs:
- name: Build with Maven
run: |
./mvnw --batch-mode --no-transfer-progress '-Dmaven.javadoc.skip=true' clean install
- - name: Upload codecov report
- if: matrix.os != 'windows-latest'
- run: |
- bash <(curl -s https://codecov.io/bash)
\ No newline at end of file
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v3
+ with:
+ file: '**/target/site/jacoco/jacoco.xml'
\ No newline at end of file
diff --git a/elasticjob-infra/elasticjob-registry-center/elasticjob-regitry-center-provider/elasticjob-registry-center-zookeeper-curator/src/test/java/org/apache/shardingsphere/elasticjob/reg/zookeeper/ZookeeperRegistryCenterWatchTest.java b/elasticjob-infra/elasticjob-registry-center/elasticjob-regitry-center-provider/elasticjob-registry-center-zookeeper-curator/src/test/java/org/apache/shardingsphere/elasticjob/reg/zookeeper/ZookeeperRegistryCenterWatchTest.java
index af31c3ca0..28e28287b 100644
--- a/elasticjob-infra/elasticjob-registry-center/elasticjob-regitry-center-provider/elasticjob-registry-center-zookeeper-curator/src/test/java/org/apache/shardingsphere/elasticjob/reg/zookeeper/ZookeeperRegistryCenterWatchTest.java
+++ b/elasticjob-infra/elasticjob-registry-center/elasticjob-regitry-center-provider/elasticjob-registry-center-zookeeper-curator/src/test/java/org/apache/shardingsphere/elasticjob/reg/zookeeper/ZookeeperRegistryCenterWatchTest.java
@@ -46,7 +46,7 @@ public final class ZookeeperRegistryCenterWatchTest {
zkRegCenter.close();
}
- @Test(timeout = 10000L)
+ @Test(timeout = 30000L)
public void assertWatch() throws InterruptedException {
CountDownLatch waitingForCountDownValue = new CountDownLatch(1);
zkRegCenter.addCacheData("/test");