diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2014-07-10 10:19:06 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-07-11 00:12:01 -0700 |
commit | 6b4702897bd56e29db4db06f8cf896f89df1133c (patch) | |
tree | 37011f50741f81f020cea4e86f894f81d49ee68c /xlators/cluster/ec | |
parent | 6532a65b56a652622612a6edcd03fff90fbeff0f (diff) |
tests: Fixed spurious failure in bug-887098-gmount-crash.t
This script was trying to see if the mount process died by doing a
'ps ax' and a grep of the original pid in the results. After that
the pid of the first line returned by grep was compared to the
original pid.
This method can lead to false negatives because it's possible that
the original pid appears in some other part of the 'ps ax' list.
This patch uses get_mount_process_pid() from volume.rc to check if
the process is still alive.
Change-Id: I0285366e601a146793c47e9c1156a4bb36d6fcb3
BUG: 1092850
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: http://review.gluster.org/8286
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/ec')
0 files changed, 0 insertions, 0 deletions