summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@redhat.com>2015-05-04 17:49:16 -0400
committerVijay Bellur <vbellur@redhat.com>2015-05-06 02:34:37 -0700
commit0758307635ec429e8d0081df2acea8c14478cc53 (patch)
tree428114cc86aa2d84985a24fd3cbfaf58ba370a14 /extras
parent1fa8ac6655bdaf6fbebb27b3f5192d9c0491c6bd (diff)
tests: fix failures due to not unmounting $M2 (/mnt/glusterfs/2)
Our failure to unmount meant that both mkdir and rmdir would fail in cleanup(). Because one of those mkdirs was the last thing cleanup() executed, it would fail, so the test would fail, so the entire regression run would fail. The fix has two parts. (1) Unmount the offending directory. (2) Make sure cleanup() returns success even if that last mkdir failed. That might keep us from consistently blowing up regression runs on the very first tests (basic/afr/data-self-heal.t) that we execute. Change-Id: I7a9761bd28761a5ee2face3db8112e9c3f6c5dc8 BUG: 1163543 Signed-off-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-on: http://review.gluster.org/10536 Reviewed-by: Justin Clift <justin@gluster.org> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-on: http://review.gluster.org/10557 Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions