Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
saga-0.2.0
-
None
-
Windows 7 or Windows Server 2008 R2
Description
UT will failed at : LoadBalancedClusterMessageSenderTest.stopSendingWhenClusterIsDown
It seems this assert
await().atMost(2, SECONDS).until(new Callable<Boolean>() {
@Override
public Boolean call() throws Exception
});
The connected size will only be 1 not 2
I had found out that GrpcCompensateStreamObserver don't trigger onError when simulate connection closed in this case so LoadBalancedClusterMessageSender can't take PushBackReconnectRunnable from pendingTasks in order to reconnect server, then the connected count will be only 1, then test case failed