Commit 4c86378b authored by Steven Allen's avatar Steven Allen

test: fix panic in TestNotFound

parent 4a78fc6e
......@@ -247,7 +247,8 @@ func TestNotFound(t *testing.T) {
pmes := new(pb.Message)
if err := pbr.ReadMsg(pmes); err != nil {
panic(err)
// this isn't an error, it just means the stream has died.
return
}
switch pmes.GetType() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment