You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have to spin up a new data proxy server on a different port every test as for some reason calling await server.stop() doesn't fully close the proxy server and the next test will spin up a new server on the same port, but the old server receives the request.
Steps to Reproduce
Make the proxy in the integration test spin up on the same port
Run tests
Second test should fail as the first instance still handles the request despite calling await proxy.stop()
Code snippet to reproduce
N.A.
Stack trace & error message
N.A.
Expected Behavior
The server should be fully spun down so the new server that's spun up on the same port can handle the request.
Your Environment
Latest
Bun 1.1.26
macOS 14.5
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
We have to spin up a new data proxy server on a different port every test as for some reason calling await server.stop() doesn't fully close the proxy server and the next test will spin up a new server on the same port, but the old server receives the request.
Steps to Reproduce
await proxy.stop()
Code snippet to reproduce
N.A.
Stack trace & error message
N.A.
Expected Behavior
The server should be fully spun down so the new server that's spun up on the same port can handle the request.
Your Environment
The text was updated successfully, but these errors were encountered: