(self)
| 242 | raise TimeoutError(f"Server did not start within {timeout_seconds} seconds") |
| 243 | |
| 244 | def stop(self) -> None: |
| 245 | if self in server_instances: |
| 246 | server_instances.remove(self) |
| 247 | if self.process: |
| 248 | print(f"Stopping server with pid={self.process.pid}") |
| 249 | self.process.kill() |
| 250 | self.process = None |
| 251 | |
| 252 | def make_request( |
| 253 | self, |