reflection: check ServerReflectionInfo error

This commit is contained in:
Gyu-Ho Lee
2016-10-28 22:37:37 -07:00
parent 396f8ba2a6
commit 05aaecb59d

View File

@ -192,6 +192,9 @@ func TestReflectionEnd2end(t *testing.T) {
c := rpb.NewServerReflectionClient(conn)
stream, err := c.ServerReflectionInfo(context.Background())
if err != nil {
t.Fatalf("cannot get ServerReflectionInfo: %v", err)
}
testFileByFilename(t, stream)
testFileByFilenameError(t, stream)