Skip to content

Commit

Permalink
Adjust sanitizer sleep time for cancelMPPGather (#9200)
Browse files Browse the repository at this point in the history
ref #8285

In #9194, sleep time is changed to 8s in sanitizer mode. However, the case still failed occasionally. So change to a larger time span.

Signed-off-by: yibin <[email protected]>
  • Loading branch information
yibin authored Jul 9, 2024
1 parent 38a8d87 commit cd2d7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Flash/tests/gtest_compute_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ try
single_gather_properties.gather_id = 1;
addOneGather(running_queries, gather_ids, single_gather_properties);
using namespace std::literals::chrono_literals;
ADAPTIVE_SLEEP(4s, 8s);
ADAPTIVE_SLEEP(4s, 16s);
/// 6 gathers, but two query
ASSERT_TRUE(
TiFlashMetrics::instance()
Expand Down

0 comments on commit cd2d7e6

Please sign in to comment.