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 61c88cc95020b1842409330002398d4b36c15e2a
Author: Willem Jiang <willem.ji...@gmail.com>
AuthorDate: Fri Oct 4 16:21:36 2019 +0800

    Try to fix the integration test error
---
 .../java/org/apache/servicecomb/pack/integration/tests/PackIT.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 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 dd5fe08..95ae666 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
@@ -171,7 +171,7 @@ public class PackIT {
     assertThat(txAbortedEvent.serviceName(), is(serviceName));
     assertThat(txAbortedEvent.instanceId(), is(txStartedEvent2.instanceId()));
 
-    // The TxAbortedEvent and TxCompensatedEvent could arrive in different 
order 
+    // The TxAbortedEvent and TxCompensatedEvent could arrive in different 
order
     TxEvent event = events.get(5);
     checkedLastTwoEvents(globalTxId, txStartedEvent1, event);
 
@@ -280,7 +280,7 @@ public class PackIT {
     assertThat(compensatedMessages.isEmpty(), is(true));
   }
 
-  @Test(timeout = 10000)
+  @Test(timeout = 15000)
   public void compensateWhenRetryReachesMaximum() throws InterruptedException {
     // retries 3 times and then compensate
     ResponseEntity<String> entity = 
restTemplate.getForEntity("/open?name={name}&retries={retries}",
@@ -311,7 +311,7 @@ public class PackIT {
     // This event is for the whole saga event
     assertThat(events.get(9).type(), is("TxAbortedEvent"));
     assertThat(events.get(10).type(), is("TxCompensatedEvent"));
-    
+
     assertThat(compensatedMessages, Matchers.contains("Goodbye, " + 
GreetingController.TRESPASSER));
   }
 }

Reply via email to