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/17 03:54:51 UTC
[servicecomb-pack] 01/02: Try to fix the CI build error
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
commit 06d837d6da9bcf76c9b81c496b44f6b9410b0956
Author: Willem Jiang <wi...@gmail.com>
AuthorDate: Fri Aug 16 08:56:02 2019 +0800
Try to fix the CI build error
---
.../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 a49eca3..4b89439 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 = 5000)
+ @Test(timeout = 7000)
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(3, SECONDS).until(() -> eventRepo.count() == 8);
+ await().atMost(5, SECONDS).until(() -> eventRepo.count() == 8);
List<String> distinctGlobalTxIds = eventRepo.findDistinctGlobalTxId();
assertThat(distinctGlobalTxIds.size(), is(1));