[LTP] [PATCH v1] zram01.sh: Increase timeout for check_read_mem_used_total

Wei Gao via ltp
2024-04-11T04:47:18Z

Increase timeout value to let case pass on our low ppc64le
machine.

Signed-off-by: Wei Gao <wegao@suse.com>
---
testcases/kernel/device-drivers/zram/zram01.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/device-drivers/zram/zram01.sh b/testcases/kernel/device-drivers/zram/zram01.sh
index 0c100b706..959dab217 100755
--- a/testcases/kernel/device-drivers/zram/zram01.sh
+++ b/testcases/kernel/device-drivers/zram/zram01.sh
@@ -155,7 +155,7 @@ zram_fill_fs()
continue
fi

- TST_RETRY_FUNC "check_read_mem_used_total /sys/block/zram$i/mm_stat" 0
+ TST_RETRY_FN_EXP_BACKOFF "check_read_mem_used_total /sys/block/zram$i/mm_stat" 0 10
mem_used_total=$(read_mem_used_total /sys/block/zram$i/mm_stat)
tst_res TINFO "mem_used_total: $mem_used_total"

--
2.35.3