During tests execution, we've experienced the following error multiple times:
Peasy/EventListener.swift:51: Fatal error: No such file or directory
Environment:
Xcode 14.2
macOS Monterrey 12.6 / macOS Ventura 13.2
After debugging, we noticed this is eventually received upon server.stop() invocation. The server was being started without any specific port, so Peasy looked for an available one. The fatalError invocation causes the test execution to fail even when tests pass.
In my opinion, this can be ignored for EV_DELETE. server.stop() is usually invoked within tearDown() so whatever happens to server while stopping is irrelevant for test execution results.
During tests execution, we've experienced the following error multiple times:
Environment:
After debugging, we noticed this is eventually received upon
server.stop()
invocation. The server was being started without any specific port, soPeasy
looked for an available one. ThefatalError
invocation causes the test execution to fail even when tests pass.In my opinion, this can be ignored for
EV_DELETE
.server.stop()
is usually invoked withintearDown()
so whatever happens toserver
while stopping is irrelevant for test execution results.