[LTP] [PATCH v4 5/5] Adopt doc for TST_RETRY_FUNC for LTP_TIMEOUT_MUL
Clemens Famulla-Conrad
cfamullaconrad@suse.de
Fri Oct 18 14:45:02 CEST 2019
Mention that time limit is mulitplied with LTP_TIMEOUT_MUL.
---
doc/test-writing-guidelines.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/test-writing-guidelines.txt b/doc/test-writing-guidelines.txt
index efff4d40c..905a4baa5 100644
--- a/doc/test-writing-guidelines.txt
+++ b/doc/test-writing-guidelines.txt
@@ -2313,7 +2313,8 @@ Retry a function in limited time
Sometimes LTP test needs retrying a function for many times to get success.
This achievement makes that possible via keeping it retrying if the return
value of the function is NOT as we expected. After exceeding a limited time,
-test will break from the retries immediately.
+test will break from the retries immediately. The time limit is multiplied
+with LTP_TIMEOUT_MUL.
[source,c]
-------------------------------------------------------------------------------
--
2.16.4
More information about the ltp
mailing list