From 008739c956857a3b3e95f43d4565518836dbe209 Mon Sep 17 00:00:00 2001 From: smj01095381 Date: Tue, 12 Sep 2023 16:48:01 +0800 Subject: [PATCH] fix bug for memory stress test --- tests/stress/memory/memory_memtest.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/stress/memory/memory_memtest.sh b/tests/stress/memory/memory_memtest.sh index ffa16aa..38c0fdb 100644 --- a/tests/stress/memory/memory_memtest.sh +++ b/tests/stress/memory/memory_memtest.sh @@ -82,9 +82,9 @@ function mem_test_runtime_to_request_mem() { check_cmd "memtester" echo "==========[memory test Time consuming ${RUNTIME}s]==========" - #Memory stress test at least 3600 seconds - if [ $(echo "$RUNTIME >= 3600"|bc) -eq 0 ];then - echo "Error: memory stress test need runtime Greater than or equal to 3600s, but Current runtime is ${RUNTIME}s" && exit 1 + #Memory stress test at least 900 seconds + if [ $(echo "$RUNTIME >= 900"|bc) -eq 0 ];then + echo "Error: memory stress test need runtime Greater than or equal to 900s, but Current runtime is ${RUNTIME}s" && exit 1 fi #Request memory based on runtime -- Gitee