mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
tests: Fix ctdb_fetch test (parse extra lines of output)
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 0be452958db95c8253c362a1c08a1966e53a1f99)
This commit is contained in:
parent
88529e8a89
commit
0cb1cc631d
@ -40,7 +40,7 @@ num_nodes=$(echo "$out" | wc -l)
|
||||
echo "Running ctdb_fetch on all $num_nodes nodes."
|
||||
try_command_on_node -v -pq all $CTDB_TEST_WRAPPER $VALGRIND ctdb_fetch -n $num_nodes
|
||||
|
||||
pat='^(Fetch: [[:digit:]]+(\.[[:digit:]]+)? msgs/sec[[:space:]]?|msg_count=[[:digit:]]+ on node [[:digit:]]|Fetching final record|DATA:|Test data|Waiting for cluster[[:space:]]?|.*: Reqid wrap!|)+$'
|
||||
pat='^(Fetch: [[:digit:]]+(\.[[:digit:]]+)? msgs/sec[[:space:]]?|msg_count=[[:digit:]]+ on node [[:digit:]]|Fetching final record|DATA:|Test data|Waiting for cluster[[:space:]]?|.*: Reqid wrap!|Sleeping for [[:digit:]]+ seconds|)+$'
|
||||
sanity_check_output 1 "$pat" "$out"
|
||||
|
||||
# Filter out the performance figures:
|
||||
|
Loading…
Reference in New Issue
Block a user