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

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


The following commit(s) were added to refs/heads/master by this push:
     new 93e19b06566 [fix](regression) mem gc when load regression failure due 
to error msg update (#40483)
93e19b06566 is described below

commit 93e19b065664d97ed0d2dc581a463371335def06
Author: zhengyu <freeman.zhang1...@gmail.com>
AuthorDate: Sun Sep 8 17:54:27 2024 +0800

    [fix](regression) mem gc when load regression failure due to error msg 
update (#40483)
    
    The error msg for memory shortage is changed from "Process has no memory
    available" to "less than low water mark".
    
    Signed-off-by: freemandealer <freeman.zhang1...@gmail.com>
---
 .../fault_injection_p0/test_mem_gc_when_load_fault_injection.groovy   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/regression-test/suites/fault_injection_p0/test_mem_gc_when_load_fault_injection.groovy
 
b/regression-test/suites/fault_injection_p0/test_mem_gc_when_load_fault_injection.groovy
index 852566c0e05..2f72c635df3 100644
--- 
a/regression-test/suites/fault_injection_p0/test_mem_gc_when_load_fault_injection.groovy
+++ 
b/regression-test/suites/fault_injection_p0/test_mem_gc_when_load_fault_injection.groovy
@@ -72,7 +72,7 @@ suite("mem_gc_when_load", "nonConcurrent") {
         
GetDebugPoint().enableDebugPointForAllBEs("VNodeChannel.try_send_and_fetch_status_full_gc")
         sql "insert into test select * from baseall where k1 <= 3"
     } catch(Exception e) {
-        assertTrue(e.getMessage().contains("Process has no memory available")) 
 // the msg should contain the root cause
+        assertTrue(e.getMessage().contains("less than low water mark"))  // 
the msg should contain the root cause
     } finally {
         
GetDebugPoint().disableDebugPointForAllBEs("VNodeChannel.try_send_and_fetch_status_full_gc")
     }
@@ -82,7 +82,7 @@ suite("mem_gc_when_load", "nonConcurrent") {
         
GetDebugPoint().enableDebugPointForAllBEs("VNodeChannel.close_wait_full_gc")
         sql "insert into test select * from baseall where k1 <= 3"
     } catch(Exception e) {
-        assertTrue(e.getMessage().contains("Process has no memory available")) 
 // the msg should contain the root cause
+        assertTrue(e.getMessage().contains("less than low water mark"))  // 
the msg should contain the root cause
     } finally {
         
GetDebugPoint().disableDebugPointForAllBEs("VNodeChannel.close_wait_full_gc")
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to