You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/src/cli/test-dsl-definition-spec.md
+5
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,11 @@ The first lines are used to define the **header fields**:
55
55
-`node-name`: log line (contains|matches) ( regex|glob) "pattern" [within x seconds]
56
56
- alice: log line matches glob "_rted #1_" within 10 seconds
57
57
58
+
- Logs assertions: Get logs from nodes and assert on the number of lines matching pattern (support `regex` and `glob`).
59
+
60
+
-`node-name`: count of log lines (containing|matcheing) ( regex|glob) "pattern" [within x seconds]
61
+
- alice: count of log lines matching glob "_rted #1_" within 10 seconds
62
+
58
63
- System events assertion: Find a `system event` from subscription by matching a `pattern`. _NOTE_ the subscription is made when we start this particular test, so we **can not** match on event in the past.
59
64
60
65
-`node-name`: system event (contains|matches)( regex| glob) "pattern" [within x seconds]
0 commit comments