()
| 239 | // transactions), so a wedge deep enough can hang the restart too — |
| 240 | // bound it and treat that as fatal rather than hanging the watchdog. |
| 241 | const restart = async () => { |
| 242 | await server.stop(); |
| 243 | server = makeServer(); |
| 244 | await server.start(); |
| 245 | }; |
| 246 | try { |
| 247 | await Promise.race([ |
| 248 | restart(), |
no test coverage detected