| 981 | } |
| 982 | |
| 983 | type restartableTestServer struct { |
| 984 | options *coderdenttest.Options |
| 985 | rl *restartableListener |
| 986 | |
| 987 | mu sync.Mutex |
| 988 | api *coderd.API |
| 989 | closer io.Closer |
| 990 | } |
| 991 | |
| 992 | func newRestartableTestServer(t *testing.T, options *coderdenttest.Options) (*codersdk.Client, codersdk.CreateFirstUserResponse, *restartableTestServer) { |
| 993 | t.Helper() |
nothing calls this directly
no outgoing calls
no test coverage detected