diff options
Diffstat (limited to 'tests/geo-rep.rc')
-rw-r--r-- | tests/geo-rep.rc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/geo-rep.rc b/tests/geo-rep.rc index 83a33939dd..84c2c2251c 100644 --- a/tests/geo-rep.rc +++ b/tests/geo-rep.rc @@ -12,12 +12,24 @@ function check_fanout_status_num_rows() $GEOREP_CLI $master status | grep -F "$search_key" | wc -l } +function check_fanout_status_detail_num_rows() +{ + local search_key=$1 + $GEOREP_CLI $master status detail | grep -F "$search_key" | wc -l +} + function check_all_status_num_rows() { local search_key=$1 $GEOREP_CLI status | grep -F "$search_key" | wc -l } +function check_all_status_detail_num_rows() +{ + local search_key=$1 + $GEOREP_CLI status detail | grep -F "$search_key" | wc -l +} + function verify_checkpoint_met() { local master=$1 |