Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Commit 208c13c

Browse files
authored
Increase the fake sleep in AdaptiveCheckTest. (#1419)
1 parent 0ee555d commit 208c13c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/execution/sql_filter_manager_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ TEST_F(FilterManagerTest, AdaptiveCheckTest) {
145145
filter.InsertClauseTerms(
146146
{[](auto exec_ctx, auto vp, auto tids, auto ctx) {
147147
auto *r = reinterpret_cast<uint32_t *>(ctx);
148-
if (*r < 1000) std::this_thread::sleep_for(250us); // Fake a sleep.
148+
if (*r < 1000) std::this_thread::sleep_for(500us); // Fake a sleep.
149149
const auto val = GenericValue::CreateInteger(500);
150150
VectorFilterExecutor::SelectLessThanVal(
151151
reinterpret_cast<exec::ExecutionContext *>(exec_ctx)->GetExecutionSettings(), vp, Col::A, val, tids);
152152
},
153153
[](auto exec_ctx, auto vp, auto tids, auto ctx) {
154154
auto *r = reinterpret_cast<uint32_t *>(ctx);
155-
if (*r >= 1000) std::this_thread::sleep_for(250us); // Fake a sleep.
155+
if (*r >= 1000) std::this_thread::sleep_for(500us); // Fake a sleep.
156156
const auto val = GenericValue::CreateInteger(7);
157157
VectorFilterExecutor::SelectLessThanVal(
158158
reinterpret_cast<exec::ExecutionContext *>(exec_ctx)->GetExecutionSettings(), vp, Col::B, val, tids);

0 commit comments

Comments
 (0)