Test suite - make the ctdb_fetch test cope with "Reqid wrap!" messages.
authorMartin Schwenke <martin@meltin.net>
Thu, 5 Aug 2010 03:43:50 +0000 (13:43 +1000)
committerMartin Schwenke <martin@meltin.net>
Thu, 5 Aug 2010 03:43:50 +0000 (13:43 +1000)
Recent CTDB notice the wrap and print this message.  The test needs to
cope.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/simple/52_ctdb_fetch.sh

index 236b697e9cd05851ffb54bb2884530891d0e5e1c..59364190668e75766d502eebffacbe055053c11f 100755 (executable)
@@ -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:]]?|)+$'
+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!|)+$'
 sanity_check_output 1 "$pat" "$out"
 
 # Filter out the performance figures: