mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix: change error message
Signed-off-by: wafuwafu13 <mariobaske@i.softbank.jp>
This commit is contained in:
parent
57413851b6
commit
2041d5f245
@ -158,7 +158,7 @@ func TestIsHaltErr(t *testing.T) {
|
||||
assert.Equal(t,
|
||||
isHaltErr(context.TODO(), errors.New("etcdserver: some etcdserver error")),
|
||||
true,
|
||||
"error created by errors.New should not be unavailable error",
|
||||
"error created by errors.New should be unavailable error",
|
||||
)
|
||||
assert.Equal(t,
|
||||
isHaltErr(context.TODO(), rpctypes.ErrGRPCStopped),
|
||||
|
Loading…
x
Reference in New Issue
Block a user