Skip to content

Commit

Permalink
[Fix](cases) Make auto&dynamic cases sleep long enough (#44228)
Browse files Browse the repository at this point in the history
Issue Number: close #xxx

Related PR: #42210

Problem Summary:

in the pr above we make daemon thread may need 5s+ to be aware of
session variables' change. so we need sleep much longer.
  • Loading branch information
zclllyybb committed Nov 22, 2024
1 parent 7d123ed commit abfdf60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ suite("test_auto_partition_behavior") {
part_result = sql " show partitions from auto_dynamic "
assertEquals(part_result.size, 1)
sql " insert into auto_dynamic values ('2024-01-01'), ('2900-01-01'), ('1900-01-01'), ('3000-01-01'); "
sleep(3000)
sleep(10000)
part_result = sql " show partitions from auto_dynamic "
log.info("${part_result}".toString())
assertEquals(part_result.size, 3)
Expand Down

0 comments on commit abfdf60

Please sign in to comment.