Skip to content

Commit

Permalink
Remove redundant comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed Jan 26, 2024
1 parent 3bd77df commit bee7003
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/end2end_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ func (te *test) listenAndServe(ts testgrpc.TestServiceServer, listen func(networ
return lis
}

fmt.Println("starting server")
go s.Serve(lis)
return lis
}
Expand Down Expand Up @@ -866,7 +865,6 @@ func (te *test) declareLogNoise(phrases ...string) {
}

func (te *test) withServerTester(fn func(st *serverTester)) {
// Client connection on the address where server is listening.
c, err := te.e.dialer(te.srvAddr, 10*time.Second)
if err != nil {
te.t.Fatal(err)
Expand Down Expand Up @@ -3916,13 +3914,10 @@ func (s) TestClientInvalidStreamID(t *testing.T) {
_, err := stream.Recv()
return err
}}
// Starts the server
te.startServer(ts)
defer te.tearDown()
serverTesterFunc := func(st *serverTester) {
// This is stream initiated by the client
st.writeHeadersGRPC(2, "/grpc.testing.TestService/StreamingInputCall", true)
// Wait for the server crash.
_, err := st.fr.ReadFrame()
// TODO: Assert the error.
if err == nil {
Expand Down

0 comments on commit bee7003

Please sign in to comment.