summaryrefslogtreecommitdiffstats
path: root/tests/tier.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tier.rc')
-rw-r--r--tests/tier.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tier.rc b/tests/tier.rc
index da6b0ee4777..88acdc791eb 100644
--- a/tests/tier.rc
+++ b/tests/tier.rc
@@ -153,3 +153,7 @@ function tier_detach_status () {
function wait_for_tier_start () {
sleep 5
}
+
+function tier_detach_commit_for_single_node () {
+ $CLI volume tier $V0 detach commit | grep "success" | wc -l
+}