diff options
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index aa614c50489..f9725b2cba1 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -150,6 +150,12 @@ function afr_child_up_status_meta { grep "child_up\[$child\]" $mnt/.meta/graphs/active/$repl/private | awk '{print $3}' } +function client_connected_status_meta { + local mnt=$1 + local client=$2 + grep "connected" $mnt/.meta/graphs/active/$client/private | awk '{print $3}' +} + function afr_child_up_status { local vol=$1 #brick_id is (brick-num in volume info - 1) |