()
| 256 | // transactions), so a wedge deep enough can hang the restart too — |
| 257 | // bound it and treat that as fatal rather than hanging the watchdog. |
| 258 | const restart = async () => { |
| 259 | await server.stop(); |
| 260 | server = makeServer(); |
| 261 | await server.start(); |
| 262 | }; |
| 263 | try { |
| 264 | await Promise.race([ |
| 265 | restart(), |
no test coverage detected