Add server.stop() to one transport test

This commit is contained in:
Menghan Li
2016-07-22 10:37:08 -07:00
parent 5bf353f41b
commit e8e6719e49

View File

@ -553,6 +553,7 @@ func TestServerContextCanceledOnClosedConnection(t *testing.T) {
case <-time.After(5 * time.Second): case <-time.After(5 * time.Second):
t.Fatalf("Failed to cancel the context of the sever side stream.") t.Fatalf("Failed to cancel the context of the sever side stream.")
} }
server.stop()
} }
func TestServerWithMisbehavedClient(t *testing.T) { func TestServerWithMisbehavedClient(t *testing.T) {