MCPcopy Create free account
hub / github.com/apache/impala / TEST_F

Function TEST_F

be/src/runtime/data-stream-test.cc:770–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768};
769
770TEST_F(DataStreamTest, UnknownSenderSmallResult) {
771 // starting a sender w/o a corresponding receiver results in an error. No bytes should
772 // be sent.
773 // case 1: entire query result fits in single buffer
774 TUniqueId dummy_id;
775 GetNextInstanceId(&dummy_id);
776 StartSender(TPartitionType::UNPARTITIONED, TOTAL_DATA_SIZE + 1024);
777 JoinSenders();
778 EXPECT_EQ(sender_info_[0]->status.code(), TErrorCode::DATASTREAM_SENDER_TIMEOUT);
779}
780
781TEST_F(DataStreamTest, UnknownSenderLargeResult) {
782 // case 2: query result requires multiple buffers

Callers

nothing calls this directly

Calls 15

GetQueryIdFunction · 0.85
MakeScopeExitTriggerFunction · 0.85
CreateClass · 0.85
MonotonicNanosFunction · 0.85
codeMethod · 0.80
GetCountersMethod · 0.80
CreateRecvrMethod · 0.80
NumTransmitsReceivedMethod · 0.80
frontMethod · 0.80
getMethod · 0.65
resetMethod · 0.65
CancelMethod · 0.45

Tested by

no test coverage detected