Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Ensures sever connections are closed for tests#7

Open
osis wants to merge 1 commit into
masterfrom
server-connections
Open

Ensures sever connections are closed for tests#7
osis wants to merge 1 commit into
masterfrom
server-connections

Conversation

@osis
Copy link
Copy Markdown

@osis osis commented Jul 4, 2019

This fixes a too many connections error that was popping up when I was
running tests.

Before

Test Panicked
  httptest: failed to listen on a port: listen tcp6 [::1]:0: socket: too many open files

After

[1562262244] bosh - 149/149 specs ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• SUCCESS! 38.554626ms PASS
[1562262244] turbulence - 10/10 specs •••••••••• SUCCESS! 404.543375ms PASS

This fixes a `too many connections` error that was popping up when I was
running tests.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant