etcdserver: removed an unhelpful test failure message

this commit changes instances of "blah" in a test to more
descriptive messages
This commit is contained in:
Nikhil Sarda 2014-12-09 21:45:50 -08:00
parent e4c0f5c1a8
commit a852936a59

View File

@ -818,7 +818,7 @@ func TestServeMembersFail(t *testing.T) {
Header: map[string][]string{"Content-Type": []string{"application/json"}},
},
&errServer{
errors.New("blah"),
errors.New("Error while adding a member"),
},
http.StatusInternalServerError,
@ -858,7 +858,7 @@ func TestServeMembersFail(t *testing.T) {
Method: "DELETE",
},
&errServer{
errors.New("blah"),
errors.New("Error while removing member"),
},
http.StatusInternalServerError,
@ -1357,7 +1357,7 @@ func TestBadServeKeys(t *testing.T) {
// etcdserver.Server error
mustNewRequest(t, "foo"),
&errServer{
errors.New("blah"),
errors.New("Internal Server Error"),
},
http.StatusInternalServerError,