mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
Test suite: handle extra lines in statistics output.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit a476a56da2219c1047081032595c045f65f8ad3f)
This commit is contained in:
@ -33,7 +33,7 @@ set -e
|
||||
|
||||
cluster_is_healthy
|
||||
|
||||
pattern='^(CTDB version 1|Gathered statistics for [[:digit:]]+ nodes|[[:space:]]+[[:alpha:]_]+[[:space:]]+[[:digit:]]+|[[:space:]]+(node|client|timeouts)|[[:space:]]+([[:alpha:]_]+_latency|max_reclock_[[:alpha:]]+)[[:space:]]+[[:digit:]-]+\.[[:digit:]]+[[:space:]]sec)$'
|
||||
pattern='^(CTDB version 1|Current time of statistics[[:space:]]*:.*|Statistics collected since[[:space:]]*:.*|Gathered statistics for [[:digit:]]+ nodes|[[:space:]]+[[:alpha:]_]+[[:space:]]+[[:digit:]]+|[[:space:]]+(node|client|timeouts)|[[:space:]]+([[:alpha:]_]+_latency|max_reclock_[[:alpha:]]+)[[:space:]]+[[:digit:]-]+\.[[:digit:]]+[[:space:]]sec)$'
|
||||
|
||||
try_command_on_node -v 1 "$CTDB statistics"
|
||||
|
||||
|
Reference in New Issue
Block a user