WillemJiang commented on a change in pull request #701:
URL: https://github.com/apache/servicecomb-pack/pull/701#discussion_r586110579



##########
File path: 
omega/omega-transaction/src/test/java/org/apache/servicecomb/pack/omega/transaction/ForwardRecoveryTest.java
##########
@@ -155,7 +155,7 @@ public void throwExceptionWhenRetryReachesMaximum() throws 
Throwable {
           containsString("Failed to handle tx because it is interrupted")));
     }
 
-    assertThat(messages.size(), is(3));
+    await().atMost(10, SECONDS).until(() -> messages.size() == 3);

Review comment:
       Please don't use the lamda founction in omega side which only supports  
Java7 syntax. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to