Skip to content

Commit

Permalink
(cloud-merge) Fix the case timeout because the sql fetches too many d…
Browse files Browse the repository at this point in the history
…atas (apache#33300)
  • Loading branch information
Lchangliang authored Apr 7, 2024
1 parent aa3a3fd commit 7c73df5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions regression-test/suites/cloud_p0/cache/ttl/alter_ttl_4.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,18 @@ suite("alter_ttl_4") {
load_customer_once("customer")

sql """ ALTER TABLE customer_ttl SET ("file_cache_ttl_seconds"="3600") """
// wait for fetching new tablet meta in BE
sleep(60000)
// some datas in s3 and will download them
sql """ select C_CUSTKEY from customer_ttl"""
sql """ select C_NAME from customer_ttl"""
sql """ select C_CUSTKEY from customer_ttl order by C_CUSTKEY limit 1"""
sql """ select C_NAME from customer_ttl order by C_NAME limit 1"""
sql """ select C_ADDRESS from customer_ttl order by C_ADDRESS limit 1"""
sql """ select C_NATIONKEY from customer_ttl order by C_NATIONKEY limit 1"""
sql """ select C_PHONE from customer_ttl order by C_PHONE limit 1 """
sql """ select C_ACCTBAL from customer_ttl order by C_ACCTBAL limit 1"""
sql """ select C_MKTSEGMENT from customer_ttl order by C_MKTSEGMENT limit 1"""
sql """ select C_COMMENT from customer_ttl order by C_COMMENT limit 1"""
// wait for updating file cache metrics
sleep(30000)
getMetricsMethod.call() {
respCode, body ->
Expand Down

0 comments on commit 7c73df5

Please sign in to comment.