Try to fix the Travis CI build error
diff --git a/alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/tcc/AlphaTccServerTestBase.java b/alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/tcc/AlphaTccServerTestBase.java
index df5161b..9aada8a 100644
--- a/alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/tcc/AlphaTccServerTestBase.java
+++ b/alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/tcc/AlphaTccServerTestBase.java
@@ -248,8 +248,8 @@
.build();
asyncStub.onConnected(config, commandStreamObserver);
- await().atMost(1, SECONDS).until(() -> (OmegaCallbacksRegistry.getRegistry().get(serviceName) != null));
- await().atMost(1, SECONDS).until(() -> (OmegaCallbacksRegistry.getRegistry().get(serviceName).size() == 2));
+ await().atMost(2, SECONDS).until(() -> (OmegaCallbacksRegistry.getRegistry().get(serviceName) != null));
+ await().atMost(2, SECONDS).until(() -> (OmegaCallbacksRegistry.getRegistry().get(serviceName).size() == 2));
OmegaCallbacksRegistry.getRegistry().get(serviceName).remove(instanceId);
blockingStub.onTccTransactionStarted(newTxStart());
@@ -257,7 +257,7 @@
blockingStub.onParticipationEnded(newParticipationEndedEvent("Succeed"));
GrpcAck result = blockingStub.onTccTransactionEnded(newTxEnd("Succeed"));
- await().atMost(2, SECONDS).until(() -> !receivedCommands.isEmpty());
+ await().atMost(4, SECONDS).until(() -> !receivedCommands.isEmpty());
assertThat(receivedCommands.size(), is(1));
GrpcTccCoordinateCommand command = receivedCommands.poll();
assertThat(command.getMethod(), is("confirm"));