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 412c331  Try to fix the CI error of AlphaIntegrationTest
412c331 is described below

commit 412c331f707b32237976c44e55de4086ad40d5d7
Author: Willem Jiang <[email protected]>
AuthorDate: Thu Aug 1 21:23:16 2019 +0800

    Try to fix the CI error of AlphaIntegrationTest
---
 .../org/apache/servicecomb/pack/alpha/server/AlphaIntegrationTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/AlphaIntegrationTest.java
 
b/alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/AlphaIntegrationTest.java
index d80587c..4d9a778 100644
--- 
a/alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/AlphaIntegrationTest.java
+++ 
b/alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/AlphaIntegrationTest.java
@@ -377,7 +377,7 @@ public class AlphaIntegrationTest {
 
     blockingStub.onTxEvent(someGrpcEvent(TxEndedEvent, globalTxId, 
anotherLocalTxId));
 
-    await().atMost(1, SECONDS).until(() -> {
+    await().atMost(2, SECONDS).until(() -> {
       List<TxEvent> events = eventRepo.findByGlobalTxId(globalTxId);
       return events.size() == 8 && events.get(events.size() - 
1).type().equals(SagaEndedEvent.name());
     });

Reply via email to