mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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:
parent
e4c0f5c1a8
commit
a852936a59
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user