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/incubator-servicecomb-saga.git
commit dac393b514eaea1f7f503e4052f54a5623f32cb1 Author: Willem Jiang <[email protected]> AuthorDate: Tue Aug 28 15:12:37 2018 +0800 SCB-856 Try to fix the CI test error with slower box --- .../apache/servicecomb/saga/alpha/tcc/server/AlphaTccServerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpha/alpha-server/src/test/java/org/apache/servicecomb/saga/alpha/tcc/server/AlphaTccServerTest.java b/alpha/alpha-server/src/test/java/org/apache/servicecomb/saga/alpha/tcc/server/AlphaTccServerTest.java index a5030b1..2e6e1f2 100644 --- a/alpha/alpha-server/src/test/java/org/apache/servicecomb/saga/alpha/tcc/server/AlphaTccServerTest.java +++ b/alpha/alpha-server/src/test/java/org/apache/servicecomb/saga/alpha/tcc/server/AlphaTccServerTest.java @@ -120,7 +120,7 @@ public class AlphaTccServerTest { OmegaCallbacksRegistry.retrieve(serviceName, instanceId), is(instanceOf(GrpcOmegaTccCallback.class)) ); blockingStub.onDisconnected(serviceConfig); - assertThat(commandStreamObserver.isCompleted(), is(true)); + await().atMost(2, SECONDS).until(()->commandStreamObserver.isCompleted()); } private void awaitUntilConnected() {
