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

Function TEST_F

cpp/src/arrow/dataset/scanner_test.cc:1917–1922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1915};
1916
1917TEST_F(TestReordering, ScanBatches) {
1918 auto scanner = MakeScanner();
1919 ASSERT_OK_AND_ASSIGN(auto batch_gen, scanner->ScanBatchesAsync());
1920 auto collected = DeliverAndCollect({0, 0, 1, 1, 0}, std::move(batch_gen));
1921 AssertBatchesInOrder(collected, {0, 1, 4, 2, 3});
1922}
1923
1924TEST_F(TestReordering, ScanBatchesUnordered) {
1925 auto scanner = MakeScanner();

Callers

nothing calls this directly

Calls 15

DeferNotOkFunction · 0.85
GetCpuThreadPoolFunction · 0.85
SleepABitFunction · 0.85
field_refFunction · 0.85
equalFunction · 0.85
or_Function · 0.85
WaitForIdleMethod · 0.80
AssertCanConsumeMethod · 0.80
AssertCannotConsumeMethod · 0.80
FinishFragmentMethod · 0.80
AssertFinishedMethod · 0.80

Tested by

no test coverage detected