You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/08/10 10:48:30 UTC
[servicecomb-pack] branch master updated: Try to fix the build of
travis CI
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
The following commit(s) were added to refs/heads/master by this push:
new 5bf634c Try to fix the build of travis CI
5bf634c is described below
commit 5bf634ce194953c1c732d736c9abc233588a9195
Author: Willem Jiang <wi...@gmail.com>
AuthorDate: Sat Aug 10 18:47:58 2019 +0800
Try to fix the build of travis CI
---
.../java/org/apache/servicecomb/pack/integration/tests/PackIT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/integration-tests/pack-tests/src/test/java/org/apache/servicecomb/pack/integration/tests/PackIT.java b/integration-tests/pack-tests/src/test/java/org/apache/servicecomb/pack/integration/tests/PackIT.java
index 5422ce2..a49eca3 100644
--- a/integration-tests/pack-tests/src/test/java/org/apache/servicecomb/pack/integration/tests/PackIT.java
+++ b/integration-tests/pack-tests/src/test/java/org/apache/servicecomb/pack/integration/tests/PackIT.java
@@ -280,7 +280,7 @@ public class PackIT {
assertThat(compensatedMessages.isEmpty(), is(true));
}
- @Test(timeout = 5000)
+ @Test(timeout = 10000)
public void compensateWhenRetryReachesMaximum() throws InterruptedException {
// retries 3 times and then compensate
ResponseEntity<String> entity = restTemplate.getForEntity("/open?name={name}&retries={retries}",
@@ -290,7 +290,7 @@ public class PackIT {
assertThat(entity.getStatusCode(), is(INTERNAL_SERVER_ERROR));
- await().atMost(5, SECONDS).until(() -> eventRepo.count() == 11);
+ await().atMost(10, SECONDS).until(() -> eventRepo.count() == 11);
List<String> distinctGlobalTxIds = eventRepo.findDistinctGlobalTxId();
assertThat(distinctGlobalTxIds.size(), is(1));