|
|
@ -33,13 +33,13 @@ namespace { |
|
|
|
|
|
|
|
|
|
|
|
CORE_END2END_TEST(Http2SingleHopTest, InvokeLargeRequest) { |
|
|
|
CORE_END2END_TEST(Http2SingleHopTest, InvokeLargeRequest) { |
|
|
|
const size_t kMessageSize = 10 * 1024 * 1024; |
|
|
|
const size_t kMessageSize = 10 * 1024 * 1024; |
|
|
|
|
|
|
|
auto send_from_client = RandomSlice(kMessageSize); |
|
|
|
|
|
|
|
auto send_from_server = RandomSlice(kMessageSize); |
|
|
|
InitServer( |
|
|
|
InitServer( |
|
|
|
ChannelArgs().Set(GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH, kMessageSize)); |
|
|
|
ChannelArgs().Set(GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH, kMessageSize)); |
|
|
|
InitClient( |
|
|
|
InitClient( |
|
|
|
ChannelArgs().Set(GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH, kMessageSize)); |
|
|
|
ChannelArgs().Set(GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH, kMessageSize)); |
|
|
|
auto c = NewClientCall("/foo").Timeout(Duration::Minutes(5)).Create(); |
|
|
|
auto c = NewClientCall("/foo").Timeout(Duration::Minutes(5)).Create(); |
|
|
|
auto send_from_client = RandomSlice(kMessageSize); |
|
|
|
|
|
|
|
auto send_from_server = RandomSlice(kMessageSize); |
|
|
|
|
|
|
|
CoreEnd2endTest::IncomingStatusOnClient server_status; |
|
|
|
CoreEnd2endTest::IncomingStatusOnClient server_status; |
|
|
|
CoreEnd2endTest::IncomingMetadata server_initial_metadata; |
|
|
|
CoreEnd2endTest::IncomingMetadata server_initial_metadata; |
|
|
|
CoreEnd2endTest::IncomingMessage server_message; |
|
|
|
CoreEnd2endTest::IncomingMessage server_message; |
|
|
|