summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorBrad Hubbard <bhubbard@redhat.com>2015-08-19 18:56:06 +1000
committerVijay Bellur <vbellur@redhat.com>2015-09-08 01:56:58 -0700
commit4932409c92928ae1a6a2a158c4cd311b0c75973c (patch)
tree0db05ccabc6ceee62bbc0e24585d5ca9af140fb9 /tests/bugs
parent5046fc8f267851b4ce530f8a3ba41d5ac5c9ea87 (diff)
glusterd: Return better error messages for probe and detach failures
We handle some specific errors and return good error messages for those, but for the default case where the error code is not recognised we just report "unknown errno". This patch attempts to at least return the output of strerror to provide more informative errors. Cherry picked from commit 4b5aec8da9be69da077e1fcc7e852d224517ecc0: >BUG: 1257149 >Change-Id: I0027e74e41adac4ab0c0a929c6fff56878bf39c8 >Signed-off-by: Brad Hubbard <bhubbard@redhat.com> >Reviewed-on: http://review.gluster.org/12021 >Reviewed-by: Niels de Vos <ndevos@redhat.com> >Tested-by: NetBSD Build System <jenkins@build.gluster.org> >Reviewed-by: Atin Mukherjee <amukherj@redhat.com> BUG: 1257394 Change-Id: I11e6c006c6b93a5c1b915f8c509f24123497301d Signed-off-by: Brad Hubbard <bhubbard@redhat.com> Reviewed-on: http://review.gluster.org/12111 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs')
-rwxr-xr-xtests/bugs/glusterfs/bug-879490.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/glusterfs/bug-879490.t b/tests/bugs/glusterfs/bug-879490.t
index 7cec6713654..c254b4f59eb 100755
--- a/tests/bugs/glusterfs/bug-879490.t
+++ b/tests/bugs/glusterfs/bug-879490.t
@@ -25,7 +25,7 @@ function peer_probe()
$CLI peer probe a.b.c.d --xml | xmllint --format - | grep "<opErrstr>"
}
-EXPECT " <opErrstr>Probe returned with unknown errno 107</opErrstr>" peer_probe
+EXPECT " <opErrstr>Probe returned with Transport endpoint is not connected</opErrstr>" peer_probe
## Finish up
TEST $CLI volume stop $V0;