(t *testing.T, port int, sc *ServerConfig, ht hType)
| 580 | } |
| 581 | |
| 582 | func setUpServerOnly(t *testing.T, port int, sc *ServerConfig, ht hType) *server { |
| 583 | server := newTestServer() |
| 584 | sc.ChannelzParent = server.channelz |
| 585 | go server.start(t, port, sc, ht) |
| 586 | server.wait(t, 2*time.Second) |
| 587 | return server |
| 588 | } |
| 589 | |
| 590 | func setUp(t *testing.T, port int, ht hType) (*server, *http2Client, func()) { |
| 591 | copts := ConnectOptions{ |
no test coverage detected