mirror of
https://github.com/samba-team/samba.git
synced 2025-08-27 05:49:32 +03:00
Test suite: handle extra lines in statistics output.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit b2362cc7773bb08c7dfdaf2c87d4b59460686659)
This commit is contained in:
committed by
Ronnie Sahlberg
parent
697fcfd15a
commit
5027d2b8b0
@ -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