Fix flaky metadata-static-route-cache test by wrapping server lifecycle in try/finally
Each next.start() is now paired with a finally block that calls next.stop(),
ensuring the server is stopped even when assertions throw mid-test. Without this,
a failed test left the server running, causing "next already started" on retry.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment