fn large_unary(client: TestServiceClient) {
    let mut payload = Payload::new();
    payload.set_body(vec![0; 271828]);
    let mut request = SimpleRequest::new();
    request.set_payload(payload);
    request.set_response_size(314159);
    let response = client.unary_call(grpc::RequestOptions::new(), request).wait_drop_metadata().expect("expected full frame");
    assert!(response.get_payload().body.len() == 314159);
    println!("{} LargeUnary done", Local::now().to_rfc3339());
}
// TODO: file a bug on this failure.
file a bug on this failure.
file a bug on this failure .
fn large_unary(client: TestServiceClient) {
    let mut payload = Payload::new();
    payload.set_body(vec![0; 271828]);
    let mut request = SimpleRequest::new();
    request.set_payload(payload);
    request.set_response_size(314159);
    let response = client.unary_call(grpc::RequestOptions::new(), request).wait_drop_metadata().expect("expected full frame");
    assert!(response.get_payload().body.len() == 314159);
    println!("{} LargeUnary done", Local::now().to_rfc3339());
}
fn large_unary ( client : TestServiceClient ) { let mut payload = Payload :: new ( ) ; payload . set_body ( vec ! [ 0 271828 ] ) ; let mut request = SimpleRequest :: new ( ) ; request . set_payload ( payload ) ; request . set_response_size ( 314159 ) ; let response = client . unary_call ( grpc :: RequestOptions :: new ( ) , request ) . wait_drop_metadata ( ) . expect ( " " ) ; assert ! ( response get_payload ( ) body len ( ) 314159 ) ; println ! ( " " Local now ( ) to_rfc3339 ( ) ) ; }
TODO: file a bug on this failure.
TODO : file a bug on this failure .
client
TestServiceClient
client
TestServiceClient