mirror of https://github.com/grpc/grpc-java.git
interop-testing: timeoutOnSleepingServer should check that RPC finished (#4766)
If the RPC did not finish, then the remaining checks are red herrings.
This commit is contained in:
parent
c3c810f5c3
commit
d1146e2015
|
|
@ -1604,7 +1604,7 @@ public abstract class AbstractInteropTest {
|
|||
// This can happen if the stream has already been terminated due to deadline exceeded.
|
||||
}
|
||||
|
||||
responseObserver.awaitCompletion(operationTimeoutMillis(), TimeUnit.MILLISECONDS);
|
||||
assertTrue(responseObserver.awaitCompletion(operationTimeoutMillis(), TimeUnit.MILLISECONDS));
|
||||
assertEquals(0, responseObserver.getValues().size());
|
||||
assertEquals(Status.DEADLINE_EXCEEDED.getCode(),
|
||||
Status.fromThrowable(responseObserver.getError()).getCode());
|
||||
|
|
|
|||
Loading…
Reference in New Issue