File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1667,24 +1667,12 @@ TEST(AsofJoinTest, PauseProducingAsofJoinSource) {
16671667 arrow::io::internal::GetIOThreadPool ()->WaitForIdle ();
16681668 arrow::internal::GetCpuThreadPool ()->WaitForIdle ();
16691669
1670- EXPECT_FALSE (is_l_paused ());
1671- EXPECT_FALSE (is_r_paused ());
1672- EXPECT_TRUE (backpressure_monitor->is_paused ());
1673-
1674- batch_producer_left.producer ().Push (l_batches.batches [l_cnt++]);
1675- arrow::internal::GetCpuThreadPool ()->WaitForIdle ();
1676- batch_producer_right.producer ().Push (r0_batches.batches [r_cnt++]);
1677- arrow::internal::GetCpuThreadPool ()->WaitForIdle ();
1678-
1679- EXPECT_FALSE (is_l_paused ());
1680- EXPECT_FALSE (is_r_paused ());
1681- EXPECT_TRUE (backpressure_monitor->is_paused ());
1682-
16831670 // Fill up the inputs of the asof join node
1684- for (uint32_t i = 1 ; i < thresholdOfBackpressureAsof; i++) {
1671+ for (uint32_t i = 0 ; i < thresholdOfBackpressureAsof; i++) {
16851672 SleepABit ();
1686- EXPECT_FALSE (is_l_paused ()) << i ;
1673+ EXPECT_FALSE (is_l_paused ());
16871674 EXPECT_FALSE (is_r_paused ());
1675+ EXPECT_TRUE (backpressure_monitor->is_paused ());
16881676 batch_producer_left.producer ().Push (l_batches.batches [l_cnt++]);
16891677 batch_producer_right.producer ().Push (r0_batches.batches [r_cnt++]);
16901678 }
You can’t perform that action at this time.
0 commit comments