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/10/04 09:26:48 UTC

[servicecomb-pack] branch master updated: Try to fix the integeration test error on travis

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 5a0bbc6  Try to fix the integeration test error on travis
5a0bbc6 is described below

commit 5a0bbc6d991447bc5664e439b6adbeb08e228977
Author: Willem Jiang <wi...@gmail.com>
AuthorDate: Fri Oct 4 17:26:31 2019 +0800

    Try to fix the integeration test error on travis
---
 .../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 95ae666..930aed1 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
@@ -249,7 +249,7 @@ public class PackIT {
     assertThat(compensatedMessages.isEmpty(), is(true));
   }
 
-  @Test(timeout = 7000)
+  @Test(timeout = 15000)
   public void retrySubTransactionSuccess() {
     ResponseEntity<String> entity = restTemplate.getForEntity("/open?name={name}&retries={retries}",
         String.class,
@@ -259,7 +259,7 @@ public class PackIT {
     assertThat(entity.getStatusCode(), is(OK));
     assertThat(entity.getBody(), is("Greetings, eric; Welcome to visit the zoo, eric"));
 
-    await().atMost(5, SECONDS).until(() -> eventRepo.count() == 8);
+    await().atMost(10, SECONDS).until(() -> eventRepo.count() == 8);
 
     List<String> distinctGlobalTxIds = eventRepo.findDistinctGlobalTxId();
     assertThat(distinctGlobalTxIds.size(), greaterThanOrEqualTo(1));