This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 2a519b2dd70 branch-3.0: [fix](regression) fix test_reset_capacity 
undefined global variable #54573 (#54646)
2a519b2dd70 is described below

commit 2a519b2dd70c936a9270f0b1f29030873f559885
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Aug 14 11:59:29 2025 +0800

    branch-3.0: [fix](regression) fix test_reset_capacity undefined global 
variable #54573 (#54646)
    
    Cherry-picked from #54573
    
    Co-authored-by: zhengyu <[email protected]>
---
 regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy 
b/regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy
index 4c9608e512c..a5274fcf04b 100644
--- a/regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy
+++ b/regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy
@@ -286,7 +286,7 @@ suite("test_reset_capacity") {
                         continue
                     }
                     def i = line.indexOf(' ')
-                    ttl_cache_size = line.substring(i).toLong()
+                    def ttl_cache_size = line.substring(i).toLong()
                     logger.info("current ttl_cache_size " + ttl_cache_size);
                     assertTrue(ttl_cache_size > 1073741824)
                     flag1 = true


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to