Add a document for introducing the runtime field.
Signed-off-by: Zhang Yale ylzhangah@qq.com --- doc/job/runtime.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/job/runtime.md
diff --git a/doc/job/runtime.md b/doc/job/runtime.md new file mode 100644 index 0000000..844cdbb --- /dev/null +++ b/doc/job/runtime.md @@ -0,0 +1,20 @@ +# runtime + +Meaning: +Limit run time to runtime seconds. + +Usage example: + +```#/bin/bash +# - runtime +``` + +It explicitly tells that `runtime` are the parameters of test script. +For any test case needing paramter(s), need such comment lines and +follow exactly the same format `# - parameter`. + +job.yaml: + +``` +runtime: 300s +```
On Wed, Nov 25, 2020 at 05:17:26PM +0800, Zhang Yale wrote:
Add a document for introducing the runtime field.
Signed-off-by: Zhang Yale ylzhangah@qq.com
Pls ignore this email, thanks.
doc/job/runtime.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/job/runtime.md
diff --git a/doc/job/runtime.md b/doc/job/runtime.md new file mode 100644 index 0000000..844cdbb --- /dev/null +++ b/doc/job/runtime.md @@ -0,0 +1,20 @@ +# runtime
+Meaning: +Limit run time to runtime seconds.
+Usage example:
+```#/bin/bash +# - runtime +```
+It explicitly tells that `runtime` are the parameters of test script. +For any test case needing paramter(s), need such comment lines and +follow exactly the same format `# - parameter`.
+job.yaml:
+``` +runtime: 300s
+```
2.23.0