diff options
Diffstat (limited to 'tests/cluster.rc')
-rwxr-xr-x | tests/cluster.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cluster.rc b/tests/cluster.rc index 1e42426f630..efeaa35636d 100755 --- a/tests/cluster.rc +++ b/tests/cluster.rc @@ -106,3 +106,6 @@ function define_clis() { done } +function peer_count() { + $CLI_1 peer status | grep 'Peer in Cluster (Connected)' | wc -l +} |