[Groonga-commit] groonga/grntest at 8568821 [master] Document sleep directive

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Mar 20 10:30:32 JST 2016


Kouhei Sutou	2016-03-20 10:30:32 +0900 (Sun, 20 Mar 2016)

  New Revision: 856882127e33175a94a5f4932f6f08b0a10b0097
  https://github.com/groonga/grntest/commit/856882127e33175a94a5f4932f6f08b0a10b0097

  Message:
    Document sleep directive

  Modified files:
    README.md

  Modified: README.md (+23 -0)
===================================================================
--- README.md    2016-03-15 17:08:02 +0900 (5469619)
+++ README.md    2016-03-20 10:30:32 +0900 (2e6248b)
@@ -219,6 +219,7 @@ Here are available `NAME` s:
 * `omit`
 * `add-important-log-levels`
 * `remove-important-log-levels`
+* `sleep`
 
 `ARGUMENTS...` are depends on directive. A directive doesn't require
 any arguments but a directive requires arguments.
@@ -510,6 +511,28 @@ log_put --level debug --message "This is a message"
 # No message is collected by grntest
 ```
 
+#### `sleep`
+
+Usage:
+
+```
+#@sleep SECOND
+```
+
+It stops execution while the specified seconds.
+
+Example:
+
+```
+load --table Users
+[
+{"_key": "User1"}
+]
+#@sleep 1.5
+# Run select after 1.5 sec.
+select Users --query _key:User1
+```
+
 ## Options
 
 Grntest has many options. You don't need to specify many of them
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index