| 768 | }; |
| 769 | |
| 770 | TEST_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 | |
| 781 | TEST_F(DataStreamTest, UnknownSenderLargeResult) { |
| 782 | // case 2: query result requires multiple buffers |
nothing calls this directly
no test coverage detected