(t *testing.T, e env)
| 1001 | } |
| 1002 | |
| 1003 | func testServerGracefulStopIdempotent(t *testing.T, e env) { |
| 1004 | te := newTest(t, e) |
| 1005 | te.userAgent = testAppUA |
| 1006 | te.startServer(&testServer{security: e.security}) |
| 1007 | defer te.tearDown() |
| 1008 | |
| 1009 | for i := 0; i < 3; i++ { |
| 1010 | te.srv.GracefulStop() |
| 1011 | } |
| 1012 | } |
| 1013 | |
| 1014 | func (s) TestDetailedConnectionCloseErrorPropagatesToRPCError(t *testing.T) { |
| 1015 | rpcStartedOnServer := make(chan struct{}) |
no test coverage detected