public boolean awaitCompletion(int timeout, TimeUnit unit) throws Exception {
        return latch.await(timeout, unit);
    }
Waits a fixed timeout for the stream to terminate.
grpc/src/test/java/com/linecorp/armeria/internal/common/grpc/StreamRecorder.java