diff options
-rw-r--r-- | tests/bugs/snapshot/bug-1111041.t (renamed from tests/bugs/glusterd/bug-1111041.t) | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/bugs/glusterd/bug-1111041.t b/tests/bugs/snapshot/bug-1111041.t index caaece0fcbb..9188880912c 100644 --- a/tests/bugs/glusterd/bug-1111041.t +++ b/tests/bugs/snapshot/bug-1111041.t @@ -25,12 +25,8 @@ TEST $CLI volume set $V0 features.uss enable; EXPECT "1" is_snapd_running $V0 -SNAPD_PID=$(ps auxww | grep snapd | grep -v grep | awk '{print $2}'); +SNAPD_PID=$($CLI volume status $V0 | grep "Snapshot Daemon" | awk {'print $8'}); -TEST [ $SNAPD_PID -gt 0 ]; - -SNAPD_PID2=$($CLI volume status $V0 | grep "Snapshot Daemon" | awk {'print $8'}); - -TEST [ $SNAPD_PID -eq $SNAPD_PID2 ] +TEST [ $SNAPD_PID -gt 0 ] cleanup ; |