summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2014-07-01 11:57:19 +0530
committerKaushal M <kaushal@redhat.com>2014-07-01 01:58:58 -0700
commit991dd5e4709296d80358d6d076507635c6b3b1e1 (patch)
tree51ad2b99ca675e3e07404af9cf4ef3a2c983565f /tests
parentc6f040524d75011c44dcc9afdfef80c60c78f7f7 (diff)
mgmt/glusterd: use the right rpc for snapd while getting pending node rpc
* Also changed the testcase bug-1111041.t to correctly get the snapshot daemon's pid Change-Id: I22c09a1e61f049f21f1886f8baa5ff421af3f8fa BUG: 1111041 Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-on: http://review.gluster.org/8209 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Sachin Pandit <spandit@redhat.com> Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/bug-1111041.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/bug-1111041.t b/tests/bugs/bug-1111041.t
index d6cf2e91df0..2ff5294f238 100644
--- a/tests/bugs/bug-1111041.t
+++ b/tests/bugs/bug-1111041.t
@@ -8,7 +8,7 @@
cleanup;
function is_snapd_running {
- $CLI volume status $1 | grep "Snap Daemon" | wc -l;
+ $CLI volume status $1 | grep "Snapshot Daemon" | wc -l;
}
TEST glusterd;
@@ -29,7 +29,7 @@ SNAPD_PID=$(ps aux | grep snapd | grep -v grep | awk '{print $2}');
TEST [ $SNAPD_PID -gt 0 ];
-SNAPD_PID2=$($CLI volume status $V0 | grep "Snap Daemon" | awk {'print $7'});
+SNAPD_PID2=$($CLI volume status $V0 | grep "Snapshot Daemon" | awk {'print $7'});
TEST [ $SNAPD_PID -eq $SNAPD_PID2 ]