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
In the CLI tests we spawn multiple HTTP servers (directly and indirectly via CLI commands).
Since ava run specs in different processes we randomize port acquisition based on process id:
In the CLI tests we spawn multiple HTTP servers (directly and indirectly via CLI commands).
Since
ava
run specs in different processes we randomize port acquisition based on process id:cli/tests/integration/utils/dev-server.js
Line 16 in db86f16
to avoid collisions.
With
ava
version 4 we can use https://github.com/avajs/get-port to ensure ports are safely acquired across test files.Note this is blocked by a Node.js 16.13.2 bug (see avajs/ava#2947) as we had to disable worker threads which is required for
ava/get-port
to worked.The text was updated successfully, but these errors were encountered: